From f2c453a16e81660215cb38231d71e94c2b848840 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 8 Jul 2025 12:42:30 +0000 Subject: [PATCH 1/2] build(codegen): updating SDK --- changes.md | 38 +++ .../api/models/common/Asset.java | 4 +- .../api/models/common/AssetBuilder.java | 4 +- .../api/models/common/AssetImpl.java | 2 +- .../api/models/me/MyPaymentDraft.java | 2 + ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...tContainersByImportContainerKeyDelete.java | 2 +- ...portContainersByImportContainerKeyGet.java | 2 +- ...ImportContainerKeyImportOperationsGet.java | 2 +- ...yImportContainerKeyImportSummariesGet.java | 2 +- ...portContainersByImportContainerKeyPut.java | 2 +- ...ntainersByImportContainerKeyPutString.java | 2 +- .../ByProjectKeyImportContainersGet.java | 2 +- .../ByProjectKeyImportContainersPost.java | 2 +- ...yProjectKeyImportContainersPostString.java | 2 +- .../ByProjectKeyImportOperationsByIdGet.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 149 ++++++++ ...tainersByImportContainerKeyPostString.java | 149 ++++++++ ...ersByImportContainerKeyRequestBuilder.java | 42 +++ ...ectionsImportContainersRequestBuilder.java | 25 ++ ...ectKeyProductSelectionsRequestBuilder.java | 22 ++ ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- .../client/ByProjectKeyRequestBuilder.java | 4 + ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...ortContainersByImportContainerKeyPost.java | 2 +- ...tainersByImportContainerKeyPostString.java | 2 +- ...red_by_manage_product_selectionsTrait.java | 22 ++ .../models/categories/CategoryImport.java | 18 +- .../categories/CategoryImportBuilder.java | 28 +- .../models/categories/CategoryImportImpl.java | 10 +- .../importapi/models/common/Address.java | 106 +++--- .../models/common/AddressBuilder.java | 110 +++--- .../importapi/models/common/AddressImpl.java | 53 +-- .../importapi/models/common/Asset.java | 38 +-- .../importapi/models/common/AssetBuilder.java | 72 +--- .../importapi/models/common/AssetImpl.java | 18 +- .../common/CartDiscountKeyReference.java | 19 +- .../CartDiscountKeyReferenceBuilder.java | 4 +- .../common/CartDiscountKeyReferenceImpl.java | 6 +- .../models/common/CartKeyReference.java | 19 +- .../common/CartKeyReferenceBuilder.java | 4 +- .../models/common/CartKeyReferenceImpl.java | 6 +- .../models/common/CategoryKeyReference.java | 19 +- .../common/CategoryKeyReferenceBuilder.java | 4 +- .../common/CategoryKeyReferenceImpl.java | 6 +- .../models/common/ChannelKeyReference.java | 19 +- .../common/ChannelKeyReferenceBuilder.java | 4 +- .../common/ChannelKeyReferenceImpl.java | 6 +- .../common/CustomObjectKeyReference.java | 21 +- .../CustomObjectKeyReferenceBuilder.java | 8 +- .../common/CustomObjectKeyReferenceImpl.java | 8 +- .../common/CustomerGroupKeyReference.java | 19 +- .../CustomerGroupKeyReferenceBuilder.java | 4 +- .../common/CustomerGroupKeyReferenceImpl.java | 6 +- .../models/common/CustomerKeyReference.java | 19 +- .../common/CustomerKeyReferenceBuilder.java | 4 +- .../common/CustomerKeyReferenceImpl.java | 6 +- .../common/DiscountCodeKeyReference.java | 19 +- .../DiscountCodeKeyReferenceBuilder.java | 4 +- .../common/DiscountCodeKeyReferenceImpl.java | 6 +- .../models/common/DiscountedPrice.java | 4 +- .../models/common/DiscountedPriceBuilder.java | 8 +- .../models/common/DiscountedPriceImpl.java | 2 +- .../common/HighPrecisionMoneyBuilder.java | 16 +- .../models/common/HighPrecisionMoneyImpl.java | 10 +- .../models/common/ImportResourceType.java | 26 +- .../importapi/models/common/KeyReference.java | 6 +- .../models/common/KeyReferenceImpl.java | 4 +- .../importapi/models/common/MoneyBuilder.java | 16 +- .../importapi/models/common/MoneyImpl.java | 10 +- .../importapi/models/common/MoneyType.java | 2 +- .../common/OrderKeyReferenceBuilder.java | 4 +- .../models/common/OrderKeyReferenceImpl.java | 4 +- .../models/common/PaymentKeyReference.java | 19 +- .../common/PaymentKeyReferenceBuilder.java | 4 +- .../common/PaymentKeyReferenceImpl.java | 6 +- .../models/common/PriceKeyReference.java | 19 +- .../common/PriceKeyReferenceBuilder.java | 4 +- .../models/common/PriceKeyReferenceImpl.java | 6 +- .../common/ProductDiscountKeyReference.java | 19 +- .../ProductDiscountKeyReferenceBuilder.java | 4 +- .../ProductDiscountKeyReferenceImpl.java | 6 +- .../models/common/ProductKeyReference.java | 19 +- .../common/ProductKeyReferenceBuilder.java | 4 +- .../common/ProductKeyReferenceImpl.java | 6 +- .../common/ProductTypeKeyReference.java | 19 +- .../ProductTypeKeyReferenceBuilder.java | 4 +- .../common/ProductTypeKeyReferenceImpl.java | 6 +- .../common/ProductVariantKeyReference.java | 19 +- .../ProductVariantKeyReferenceBuilder.java | 4 +- .../ProductVariantKeyReferenceImpl.java | 6 +- .../models/common/ReferenceType.java | 20 +- .../common/ShippingMethodKeyReference.java | 19 +- .../ShippingMethodKeyReferenceBuilder.java | 4 +- .../ShippingMethodKeyReferenceImpl.java | 6 +- .../models/common/StateKeyReference.java | 19 +- .../common/StateKeyReferenceBuilder.java | 4 +- .../models/common/StateKeyReferenceImpl.java | 6 +- .../models/common/StoreKeyReference.java | 19 +- .../common/StoreKeyReferenceBuilder.java | 4 +- .../models/common/StoreKeyReferenceImpl.java | 6 +- .../common/TaxCategoryKeyReference.java | 19 +- .../TaxCategoryKeyReferenceBuilder.java | 4 +- .../common/TaxCategoryKeyReferenceImpl.java | 6 +- .../models/common/TypeKeyReference.java | 19 +- .../common/TypeKeyReferenceBuilder.java | 4 +- .../models/common/TypeKeyReferenceImpl.java | 6 +- .../importapi/models/common/TypedMoney.java | 18 +- .../models/common/TypedMoneyImpl.java | 10 +- .../models/common/UnresolvedReferences.java | 10 +- .../common/UnresolvedReferencesBuilder.java | 8 +- .../common/UnresolvedReferencesImpl.java | 6 +- .../models/customers/CustomerAddress.java | 4 +- .../customers/CustomerAddressBuilder.java | 4 +- .../models/customers/CustomerAddressImpl.java | 2 +- .../models/customers/CustomerImport.java | 44 +-- .../customers/CustomerImportBuilder.java | 64 ++-- .../models/customers/CustomerImportImpl.java | 20 +- .../models/customfields/BooleanField.java | 4 +- .../customfields/BooleanFieldBuilder.java | 4 +- .../models/customfields/BooleanFieldImpl.java | 2 +- .../models/customfields/BooleanSetField.java | 6 +- .../customfields/BooleanSetFieldBuilder.java | 8 +- .../customfields/BooleanSetFieldImpl.java | 2 +- .../importapi/models/customfields/Custom.java | 4 +- .../models/customfields/CustomBuilder.java | 8 +- .../models/customfields/CustomImpl.java | 2 +- .../models/customfields/DateField.java | 4 +- .../models/customfields/DateFieldBuilder.java | 4 +- .../models/customfields/DateFieldImpl.java | 2 +- .../models/customfields/DateSetField.java | 6 +- .../customfields/DateSetFieldBuilder.java | 8 +- .../models/customfields/DateSetFieldImpl.java | 2 +- .../models/customfields/DateTimeField.java | 4 +- .../customfields/DateTimeFieldBuilder.java | 4 +- .../customfields/DateTimeFieldImpl.java | 2 +- .../models/customfields/DateTimeSetField.java | 6 +- .../customfields/DateTimeSetFieldBuilder.java | 8 +- .../customfields/DateTimeSetFieldImpl.java | 2 +- .../models/customfields/EnumField.java | 4 +- .../models/customfields/EnumFieldBuilder.java | 4 +- .../models/customfields/EnumFieldImpl.java | 2 +- .../models/customfields/EnumSetField.java | 6 +- .../customfields/EnumSetFieldBuilder.java | 8 +- .../models/customfields/EnumSetFieldImpl.java | 2 +- .../customfields/LocalizedEnumField.java | 4 +- .../LocalizedEnumFieldBuilder.java | 4 +- .../customfields/LocalizedEnumFieldImpl.java | 2 +- .../customfields/LocalizedEnumSetField.java | 6 +- .../LocalizedEnumSetFieldBuilder.java | 8 +- .../LocalizedEnumSetFieldImpl.java | 2 +- .../customfields/LocalizedStringField.java | 14 +- .../LocalizedStringFieldBuilder.java | 28 +- .../LocalizedStringFieldImpl.java | 7 +- .../customfields/LocalizedStringSetField.java | 6 +- .../LocalizedStringSetFieldBuilder.java | 16 +- .../LocalizedStringSetFieldImpl.java | 2 +- .../models/customfields/MoneyField.java | 4 +- .../customfields/MoneyFieldBuilder.java | 6 +- .../models/customfields/MoneyFieldImpl.java | 2 +- .../models/customfields/MoneySetField.java | 16 +- .../customfields/MoneySetFieldBuilder.java | 53 +-- .../customfields/MoneySetFieldImpl.java | 12 +- .../models/customfields/NumberField.java | 4 +- .../customfields/NumberFieldBuilder.java | 4 +- .../models/customfields/NumberFieldImpl.java | 2 +- .../models/customfields/NumberSetField.java | 6 +- .../customfields/NumberSetFieldBuilder.java | 8 +- .../customfields/NumberSetFieldImpl.java | 2 +- .../customfields/ReferenceSetField.java | 6 +- .../ReferenceSetFieldBuilder.java | 12 +- .../customfields/ReferenceSetFieldImpl.java | 2 +- .../models/customfields/StringField.java | 4 +- .../customfields/StringFieldBuilder.java | 4 +- .../models/customfields/StringFieldImpl.java | 2 +- .../models/customfields/StringSetField.java | 6 +- .../customfields/StringSetFieldBuilder.java | 8 +- .../customfields/StringSetFieldImpl.java | 2 +- .../models/customfields/TimeField.java | 4 +- .../models/customfields/TimeFieldBuilder.java | 4 +- .../models/customfields/TimeFieldImpl.java | 2 +- .../models/customfields/TimeSetField.java | 6 +- .../customfields/TimeSetFieldBuilder.java | 8 +- .../models/customfields/TimeSetFieldImpl.java | 2 +- .../discount_codes/DiscountCodeImport.java | 52 ++- .../DiscountCodeImportBuilder.java | 66 ++-- .../DiscountCodeImportImpl.java | 25 +- .../models/errors/InvalidFieldError.java | 4 +- .../errors/InvalidFieldErrorBuilder.java | 4 +- .../models/errors/InvalidFieldErrorImpl.java | 2 +- .../models/errors/ResourceCreationError.java | 4 +- .../errors/ResourceCreationErrorBuilder.java | 4 +- .../errors/ResourceCreationErrorImpl.java | 2 +- .../models/errors/ResourceDeletionError.java | 4 +- .../errors/ResourceDeletionErrorBuilder.java | 4 +- .../errors/ResourceDeletionErrorImpl.java | 2 +- .../models/errors/ResourceNotFoundError.java | 4 +- .../errors/ResourceNotFoundErrorBuilder.java | 4 +- .../errors/ResourceNotFoundErrorImpl.java | 2 +- .../models/errors/ResourceUpdateError.java | 4 +- .../errors/ResourceUpdateErrorBuilder.java | 4 +- .../errors/ResourceUpdateErrorImpl.java | 2 +- .../models/errors/VariantValues.java | 4 +- .../models/errors/VariantValuesBuilder.java | 4 +- .../models/errors/VariantValuesImpl.java | 2 +- .../importcontainers/ImportContainer.java | 14 +- .../ImportContainerBuilder.java | 12 +- .../ImportContainerDraft.java | 6 +- .../ImportContainerDraftBuilder.java | 4 +- .../ImportContainerDraftImpl.java | 4 +- .../importcontainers/ImportContainerImpl.java | 8 +- .../ImportContainerPagedResponse.java | 16 +- .../ImportContainerPagedResponseBuilder.java | 24 +- .../ImportContainerPagedResponseImpl.java | 8 +- .../ImportContainerUpdateDraft.java | 2 +- .../ImportContainerUpdateDraftImpl.java | 2 +- .../importoperations/ImportOperation.java | 50 +-- .../ImportOperationBuilder.java | 64 ++-- .../importoperations/ImportOperationImpl.java | 24 +- .../ImportOperationStatus.java | 16 +- .../ImportOperationStatusBuilder.java | 20 +- .../ImportOperationStatusImpl.java | 8 +- .../DiscountCodeImportRequest.java | 2 +- .../DiscountCodeImportRequestImpl.java | 2 +- .../models/importrequests/ImportRequest.java | 8 + .../importrequests/ImportRequestBuilder.java | 4 + .../models/importrequests/ImportResponse.java | 8 +- .../importrequests/ImportResponseBuilder.java | 16 +- .../importrequests/ImportResponseImpl.java | 4 +- .../ProductSelectionImportRequest.java | 146 ++++++++ .../ProductSelectionImportRequestBuilder.java | 167 +++++++++ .../ProductSelectionImportRequestImpl.java | 106 ++++++ .../models/importsummaries/ImportSummary.java | 10 +- .../importsummaries/ImportSummaryBuilder.java | 12 +- .../importsummaries/ImportSummaryImpl.java | 6 +- .../importsummaries/OperationStates.java | 30 +- .../OperationStatesBuilder.java | 28 +- .../importsummaries/OperationStatesImpl.java | 16 +- .../models/inventories/InventoryImport.java | 30 +- .../inventories/InventoryImportBuilder.java | 36 +- .../inventories/InventoryImportImpl.java | 16 +- .../order_patches/DeliveryAddressDraft.java | 8 +- .../DeliveryAddressDraftBuilder.java | 12 +- .../DeliveryAddressDraftImpl.java | 4 +- .../models/order_patches/DeliveryDraft.java | 16 +- .../order_patches/DeliveryDraftBuilder.java | 40 +-- .../order_patches/DeliveryDraftImpl.java | 6 +- .../models/order_patches/DeliveryParcel.java | 18 +- .../order_patches/DeliveryParcelBuilder.java | 36 +- .../order_patches/DeliveryParcelDraft.java | 14 +- .../DeliveryParcelDraftBuilder.java | 32 +- .../DeliveryParcelDraftImpl.java | 6 +- .../order_patches/DeliveryParcelImpl.java | 8 +- .../order_patches/OrderPatchImport.java | 10 +- .../OrderPatchImportBuilder.java | 12 +- .../order_patches/OrderPatchImportImpl.java | 6 +- .../models/order_patches/ParcelItems.java | 10 +- .../order_patches/ParcelItemsBuilder.java | 20 +- .../models/order_patches/ParcelItemsImpl.java | 4 +- .../order_patches/ParcelMeasurementDraft.java | 8 +- .../ParcelMeasurementDraftBuilder.java | 12 +- .../ParcelMeasurementDraftImpl.java | 4 +- .../order_patches/ParcelTrackingData.java | 8 +- .../ParcelTrackingDataBuilder.java | 12 +- .../order_patches/ParcelTrackingDataImpl.java | 4 +- .../RemoveParcelFromDeliveryDraft.java | 4 +- .../RemoveParcelFromDeliveryDraftBuilder.java | 4 +- .../RemoveParcelFromDeliveryDraftImpl.java | 2 +- .../models/order_patches/ReturnInfo.java | 14 +- .../order_patches/ReturnInfoBuilder.java | 24 +- .../models/order_patches/ReturnInfoImpl.java | 6 +- .../models/order_patches/ReturnItemDraft.java | 24 +- .../order_patches/ReturnItemDraftBuilder.java | 24 +- .../order_patches/ReturnItemDraftImpl.java | 12 +- .../models/orders/CustomLineItemDraft.java | 62 ++-- .../orders/CustomLineItemDraftBuilder.java | 120 +++---- .../orders/CustomLineItemDraftImpl.java | 29 +- .../importapi/models/orders/Delivery.java | 24 +- .../models/orders/DeliveryBuilder.java | 48 +-- .../importapi/models/orders/DeliveryImpl.java | 10 +- .../importapi/models/orders/DeliveryItem.java | 8 +- .../models/orders/DeliveryItemBuilder.java | 8 +- .../models/orders/DeliveryItemImpl.java | 4 +- .../models/orders/DiscountCodeInfo.java | 4 +- .../orders/DiscountCodeInfoBuilder.java | 8 +- .../models/orders/DiscountCodeInfoImpl.java | 2 +- .../orders/DiscountedLineItemPortion.java | 8 +- .../DiscountedLineItemPortionBuilder.java | 16 +- .../orders/DiscountedLineItemPortionImpl.java | 4 +- .../orders/DiscountedLineItemPriceDraft.java | 10 +- .../DiscountedLineItemPriceDraftBuilder.java | 24 +- .../DiscountedLineItemPriceDraftImpl.java | 4 +- .../models/orders/ExternalTaxRateDraft.java | 40 ++- .../orders/ExternalTaxRateDraftBuilder.java | 50 ++- .../orders/ExternalTaxRateDraftImpl.java | 19 +- .../orders/ItemShippingDetailsDraft.java | 8 +- .../ItemShippingDetailsDraftBuilder.java | 16 +- .../orders/ItemShippingDetailsDraftImpl.java | 4 +- .../models/orders/ItemShippingTarget.java | 10 +- .../orders/ItemShippingTargetBuilder.java | 8 +- .../models/orders/ItemShippingTargetImpl.java | 6 +- .../importapi/models/orders/ItemState.java | 10 +- .../models/orders/ItemStateBuilder.java | 12 +- .../models/orders/ItemStateImpl.java | 6 +- .../models/orders/LineItemImportDraft.java | 26 +- .../orders/LineItemImportDraftBuilder.java | 56 +-- .../orders/LineItemImportDraftImpl.java | 12 +- .../models/orders/LineItemPrice.java | 14 +- .../models/orders/LineItemPriceBuilder.java | 32 +- .../models/orders/LineItemPriceImpl.java | 6 +- .../LineItemProductVariantImportDraft.java | 4 +- ...eItemProductVariantImportDraftBuilder.java | 8 +- ...LineItemProductVariantImportDraftImpl.java | 2 +- .../importapi/models/orders/OrderImport.java | 19 +- .../models/orders/OrderImportBuilder.java | 32 +- .../models/orders/OrderImportImpl.java | 11 +- .../importapi/models/orders/Parcel.java | 26 +- .../models/orders/ParcelBuilder.java | 48 +-- .../importapi/models/orders/ParcelImpl.java | 12 +- .../models/orders/ParcelMeasurements.java | 16 +- .../orders/ParcelMeasurementsBuilder.java | 16 +- .../models/orders/ParcelMeasurementsImpl.java | 8 +- .../orders/ShippingInfoImportDraft.java | 40 +-- .../ShippingInfoImportDraftBuilder.java | 70 ++-- .../orders/ShippingInfoImportDraftImpl.java | 20 +- .../models/orders/ShippingRateDraft.java | 14 +- .../orders/ShippingRateDraftBuilder.java | 28 +- .../models/orders/ShippingRateDraftImpl.java | 6 +- .../importapi/models/orders/SyncInfo.java | 4 +- .../models/orders/SyncInfoBuilder.java | 8 +- .../importapi/models/orders/SyncInfoImpl.java | 2 +- .../importapi/models/orders/TaxPortion.java | 12 +- .../models/orders/TaxPortionBuilder.java | 14 +- .../models/orders/TaxPortionImpl.java | 6 +- .../importapi/models/orders/TrackingData.java | 26 +- .../models/orders/TrackingDataBuilder.java | 26 +- .../models/orders/TrackingDataImpl.java | 13 +- .../importapi/models/prices/PriceImport.java | 26 +- .../models/prices/PriceImportBuilder.java | 44 +-- .../models/prices/PriceImportImpl.java | 14 +- .../importapi/models/prices/SubRate.java | 4 +- .../models/prices/SubRateBuilder.java | 4 +- .../importapi/models/prices/SubRateImpl.java | 2 +- .../ProductSelectionAssignment.java | 164 +++++++++ .../ProductSelectionAssignmentBuilder.java | 216 ++++++++++++ .../ProductSelectionAssignmentImpl.java | 127 +++++++ .../ProductSelectionImport.java | 211 ++++++++++++ .../ProductSelectionImportBuilder.java | 319 ++++++++++++++++++ .../ProductSelectionImportImpl.java | 170 ++++++++++ .../ProductSelectionMode.java | 116 +++++++ .../product_selections/VariantExclusion.java | 129 +++++++ .../VariantExclusionBuilder.java | 109 ++++++ .../VariantExclusionImpl.java | 84 +++++ .../product_selections/VariantSelection.java | 149 ++++++++ .../VariantSelectionBuilder.java | 135 ++++++++ .../VariantSelectionImpl.java | 107 ++++++ .../VariantSelectionType.java | 115 +++++++ .../productdrafts/PriceDraftImport.java | 32 +- .../PriceDraftImportBuilder.java | 50 +-- .../productdrafts/PriceDraftImportImpl.java | 16 +- .../productdrafts/ProductDraftImport.java | 126 ++----- .../ProductDraftImportBuilder.java | 252 ++++---------- .../productdrafts/ProductDraftImportImpl.java | 61 +--- .../ProductVariantDraftImport.java | 32 +- .../ProductVariantDraftImportBuilder.java | 68 ++-- .../ProductVariantDraftImportImpl.java | 12 +- .../models/products/ProductImport.java | 120 ++----- .../models/products/ProductImportBuilder.java | 228 +++---------- .../models/products/ProductImportImpl.java | 61 +--- .../producttypes/AttributeDefinition.java | 52 +-- .../AttributeDefinitionBuilder.java | 82 ++--- .../producttypes/AttributeDefinitionImpl.java | 26 +- .../producttypes/AttributeNestedType.java | 4 +- .../AttributeNestedTypeBuilder.java | 8 +- .../producttypes/AttributeNestedTypeImpl.java | 2 +- .../producttypes/AttributeReferenceType.java | 4 +- .../AttributeReferenceTypeBuilder.java | 4 +- .../AttributeReferenceTypeImpl.java | 2 +- .../producttypes/ProductTypeImport.java | 6 +- .../ProductTypeImportBuilder.java | 4 +- .../producttypes/ProductTypeImportImpl.java | 4 +- .../models/productvariants/Attribute.java | 10 +- .../models/productvariants/AttributeImpl.java | 7 +- .../productvariants/BooleanAttribute.java | 4 +- .../BooleanAttributeBuilder.java | 10 +- .../productvariants/BooleanAttributeImpl.java | 7 +- .../productvariants/BooleanSetAttribute.java | 6 +- .../BooleanSetAttributeBuilder.java | 14 +- .../BooleanSetAttributeImpl.java | 7 +- .../models/productvariants/DateAttribute.java | 4 +- .../productvariants/DateAttributeBuilder.java | 10 +- .../productvariants/DateAttributeImpl.java | 7 +- .../productvariants/DateSetAttribute.java | 6 +- .../DateSetAttributeBuilder.java | 14 +- .../productvariants/DateSetAttributeImpl.java | 7 +- .../productvariants/DateTimeAttribute.java | 4 +- .../DateTimeAttributeBuilder.java | 10 +- .../DateTimeAttributeImpl.java | 7 +- .../productvariants/DateTimeSetAttribute.java | 6 +- .../DateTimeSetAttributeBuilder.java | 14 +- .../DateTimeSetAttributeImpl.java | 7 +- .../models/productvariants/EnumAttribute.java | 4 +- .../productvariants/EnumAttributeBuilder.java | 10 +- .../productvariants/EnumAttributeImpl.java | 7 +- .../productvariants/EnumSetAttribute.java | 6 +- .../EnumSetAttributeBuilder.java | 14 +- .../productvariants/EnumSetAttributeImpl.java | 7 +- .../LocalizableEnumAttribute.java | 4 +- .../LocalizableEnumAttributeBuilder.java | 10 +- .../LocalizableEnumAttributeImpl.java | 7 +- .../LocalizableEnumSetAttribute.java | 6 +- .../LocalizableEnumSetAttributeBuilder.java | 14 +- .../LocalizableEnumSetAttributeImpl.java | 7 +- .../LocalizableTextAttribute.java | 14 +- .../LocalizableTextAttributeBuilder.java | 34 +- .../LocalizableTextAttributeImpl.java | 12 +- .../LocalizableTextSetAttribute.java | 6 +- .../LocalizableTextSetAttributeBuilder.java | 22 +- .../LocalizableTextSetAttributeImpl.java | 7 +- .../productvariants/MoneyAttribute.java | 4 +- .../MoneyAttributeBuilder.java | 12 +- .../productvariants/MoneyAttributeImpl.java | 7 +- .../productvariants/MoneySetAttribute.java | 6 +- .../MoneySetAttributeBuilder.java | 18 +- .../MoneySetAttributeImpl.java | 7 +- .../productvariants/NumberAttribute.java | 4 +- .../NumberAttributeBuilder.java | 10 +- .../productvariants/NumberAttributeImpl.java | 7 +- .../productvariants/NumberSetAttribute.java | 6 +- .../NumberSetAttributeBuilder.java | 14 +- .../NumberSetAttributeImpl.java | 7 +- .../productvariants/ProductVariantImport.java | 10 +- .../ProductVariantImportBuilder.java | 12 +- .../ProductVariantImportImpl.java | 6 +- .../productvariants/ProductVariantPatch.java | 12 +- .../ProductVariantPatchBuilder.java | 20 +- .../ProductVariantPatchImpl.java | 7 +- .../ReferenceAttributeBuilder.java | 6 +- .../ReferenceAttributeImpl.java | 5 +- .../ReferenceSetAttribute.java | 6 +- .../ReferenceSetAttributeBuilder.java | 18 +- .../ReferenceSetAttributeImpl.java | 7 +- .../models/productvariants/TextAttribute.java | 4 +- .../productvariants/TextAttributeBuilder.java | 10 +- .../productvariants/TextAttributeImpl.java | 7 +- .../productvariants/TextSetAttribute.java | 6 +- .../TextSetAttributeBuilder.java | 14 +- .../productvariants/TextSetAttributeImpl.java | 7 +- .../models/productvariants/TimeAttribute.java | 4 +- .../productvariants/TimeAttributeBuilder.java | 10 +- .../productvariants/TimeAttributeImpl.java | 7 +- .../productvariants/TimeSetAttribute.java | 6 +- .../TimeSetAttributeBuilder.java | 14 +- .../productvariants/TimeSetAttributeImpl.java | 7 +- .../StandalonePriceImport.java | 54 ++- .../StandalonePriceImportBuilder.java | 84 +++-- .../StandalonePriceImportImpl.java | 27 +- .../types/CustomFieldBooleanTypeImpl.java | 2 +- .../types/CustomFieldDateTimeTypeImpl.java | 2 +- .../models/types/CustomFieldDateTypeImpl.java | 2 +- .../models/types/CustomFieldEnumTypeImpl.java | 2 +- .../CustomFieldLocalizedEnumTypeImpl.java | 2 +- .../CustomFieldLocalizedStringTypeImpl.java | 2 +- .../types/CustomFieldMoneyTypeImpl.java | 2 +- .../types/CustomFieldNumberTypeImpl.java | 2 +- .../types/CustomFieldReferenceTypeImpl.java | 2 +- .../types/CustomFieldReferenceValue.java | 44 ++- .../models/types/CustomFieldSetTypeImpl.java | 2 +- .../types/CustomFieldStringTypeImpl.java | 2 +- .../models/types/CustomFieldTimeTypeImpl.java | 2 +- .../importapi/models/types/FieldType.java | 4 +- .../importapi/models/types/FieldTypeImpl.java | 4 +- .../models/types/ResourceTypeId.java | 2 +- .../importapi/models/types/TypeImport.java | 6 +- .../models/types/TypeImportBuilder.java | 4 +- .../models/types/TypeImportImpl.java | 4 +- ...ortContainersByImportContainerKeyTest.java | 78 +++++ ...ProductSelectionsImportContainersTest.java | 27 ++ .../ByProjectKeyProductSelectionsTest.java | 27 ++ .../common/CartDiscountKeyReferenceTest.java | 22 ++ .../models/common/CartKeyReferenceTest.java | 22 ++ .../common/CategoryKeyReferenceTest.java | 22 ++ .../common/ChannelKeyReferenceTest.java | 22 ++ .../common/CustomObjectKeyReferenceTest.java | 9 +- .../common/CustomerGroupKeyReferenceTest.java | 22 ++ .../common/CustomerKeyReferenceTest.java | 22 ++ .../common/DiscountCodeKeyReferenceTest.java | 22 ++ .../common/PaymentKeyReferenceTest.java | 22 ++ .../models/common/PriceKeyReferenceTest.java | 22 ++ .../ProductDiscountKeyReferenceTest.java | 22 ++ .../common/ProductKeyReferenceTest.java | 22 ++ .../common/ProductTypeKeyReferenceTest.java | 22 ++ .../ProductVariantKeyReferenceTest.java | 22 ++ .../ShippingMethodKeyReferenceTest.java | 22 ++ .../models/common/StateKeyReferenceTest.java | 22 ++ .../models/common/StoreKeyReferenceTest.java | 22 ++ .../common/TaxCategoryKeyReferenceTest.java | 22 ++ .../models/common/TypeKeyReferenceTest.java | 22 ++ .../customfields/MoneySetFieldTest.java | 6 +- .../ProductSelectionImportRequestTest.java | 35 ++ .../ProductSelectionAssignmentTest.java | 55 +++ .../ProductSelectionImportTest.java | 79 +++++ .../VariantExclusionTest.java | 31 ++ .../VariantSelectionTest.java | 45 +++ references.txt | 1 + 528 files changed, 6944 insertions(+), 3318 deletions(-) create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersRequestBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsRequestBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/Secured_by_manage_product_selectionsTrait.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestImpl.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignment.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentImpl.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImport.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportImpl.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionMode.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusion.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionImpl.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelection.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionBuilder.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionImpl.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionType.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionTest.java create mode 100644 commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionTest.java diff --git a/changes.md b/changes.md index c9714557fa4..a4137eb7e26 100644 --- a/changes.md +++ b/changes.md @@ -214,6 +214,13 @@ **Import changes** +
+Added Enum(s) + +- added enum `product-selection` to type `ImportResourceType` +
+ +
Added Property(s) @@ -226,6 +233,21 @@
+
+Changed Property(s) + +- :warning: changed property `country` of type `ExternalTaxRateDraft` from type `string` to `CountryCode` +- :warning: changed property `value` of type `MoneySetField` from type `Money[]` to `TypedMoney[]` +
+ + +
+Added Method(s) + +- added method `apiRoot.withProjectKeyValue().productSelections().importContainers().withImportContainerKeyValue().post()` +
+ +
Added Type(s) @@ -233,7 +255,23 @@ - added type `RetentionPolicy` - added type `TimeToLiveConfig` - added type `TimeToLiveRetentionPolicy` +- added type `ProductSelectionImportRequest` - added type `AttributeLevel` +- added type `VariantSelectionType` +- added type `VariantSelection` +- added type `VariantExclusion` +- added type `ProductSelectionAssignment` +- added type `ProductSelectionMode` +- added type `ProductSelectionImport` +
+ + +
+Added Resource(s) + +- added resource `/{projectKey}/product-selections` +- added resource `/{projectKey}/product-selections/import-containers` +- added resource `/{projectKey}/product-selections/import-containers/{importContainerKey}`
**History changes** diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Asset.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Asset.java index 7ce8abf0dce..59b8278f5d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Asset.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Asset.java @@ -37,7 +37,7 @@ public interface Asset extends com.commercetools.api.models.Customizable, com.commercetools.api.models.WithKey { /** - *

Unique identifier of the Asset.

+ *

Unique identifier of the Asset. Not required when importing Assets using the Import API.

* @return id */ @NotNull @@ -95,7 +95,7 @@ public interface Asset extends com.commercetools.api.models.Customizable, public String getKey(); /** - *

Unique identifier of the Asset.

+ *

Unique identifier of the Asset. Not required when importing Assets using the Import API.

* @param id value to be set */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetBuilder.java index 9df71e24af7..610db9fb64f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetBuilder.java @@ -45,7 +45,7 @@ public class AssetBuilder implements Builder { private String key; /** - *

Unique identifier of the Asset.

+ *

Unique identifier of the Asset. Not required when importing Assets using the Import API.

* @param id value to be set * @return Builder */ @@ -294,7 +294,7 @@ public AssetBuilder key(@Nullable final String key) { } /** - *

Unique identifier of the Asset.

+ *

Unique identifier of the Asset. Not required when importing Assets using the Import API.

* @return id */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java index 42d7da7e27a..fb21ab91a69 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/AssetImpl.java @@ -63,7 +63,7 @@ public AssetImpl() { } /** - *

Unique identifier of the Asset.

+ *

Unique identifier of the Asset. Not required when importing Assets using the Import API.

*/ public String getId() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraft.java index 8b3a01a420c..c34fcae3f75 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/me/MyPaymentDraft.java @@ -1,6 +1,8 @@ package com.commercetools.api.models.me; +import java.time.*; +import java.util.*; import java.util.function.Function; import javax.annotation.Nullable; diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java index 5503532eb9e..4e3d1494ca7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Categories or updating existing ones.

+ *

Creates an Import Request for Categories.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPostString.java index 6d90a3eee62..2a88e65f676 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Categories or updating existing ones.

+ *

Creates an Import Request for Categories.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java index 7ede3538351..28b45a65523 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Customers or updating existing ones.

+ *

Creates an Import Request for Customers.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPostString.java index 3bccc660b02..128dc4e0af8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Customers or updating existing ones.

+ *

Creates an Import Request for Customers.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java index dc68ba8bd31..b42909c3345 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Discount Codes or updating existing ones.

+ *

Creates an Import Request for Discount Codes.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPostString.java index 2458b0795ca..c8eaa3cdbcf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Discount Codes or updating existing ones.

+ *

Creates an Import Request for Discount Codes.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java index 0e096e38f0a..3615ab238f3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Deletes the Import Container specified by the importContainerKey.

+ *

Deletes an Import Container in the Project.

*

Generates the ImportContainerDeleted Event.

* *
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java index c2a1fe26fcb..ece43f6a354 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves the Import Container given by the key.

+ *

Retrieves an ImportContainer with the provided importContainerKey.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java index f296a93fb33..27dec274941 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java @@ -21,7 +21,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves all ImportOperations of a given ImportContainer key.

+ *

Retrieves all ImportOperations within an ImportContainer.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java index 78709fb3e5d..46edad2c38b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves an ImportSummary for the given Import Container. An ImportSummary is calculated on demand.

+ *

Retrieves an ImportSummary for the ImportContainer with the provided importContainerKey.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java index b39ff850021..0e43eb02d34 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates the Import Container given by the key.

+ *

Updates an ImportContainer in the Project.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPutString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPutString.java index 5e3bfb37213..42e755ec3eb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPutString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPutString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Updates the Import Container given by the key.

+ *

Updates an ImportContainer in the Project.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java index a7cff1f7da2..92bd7b058ce 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java @@ -20,7 +20,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves all Import Containers of a given project key.

+ *

Retrieves all ImportContainers in the Project.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java index 70ba38f3933..5dc7d9b16a5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new Import Container.

+ *

Creates an Import Container in the Project.

*

Generates the ImportContainerCreated Event.

* *
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPostString.java index 02b9a3f509f..51aca4c7624 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new Import Container.

+ *

Creates an Import Container in the Project.

*

Generates the ImportContainerCreated Event.

* *
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java index f890b2f60ac..92dc9dbaeae 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Retrieves the ImportOperation of a given ID.

+ *

Retrieves an ImportOperation with the provided id.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java index 9de163d93ab..ec374210516 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Inventories or updating existing ones.

+ *

Creates an Import Request for InventoryEntries.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPostString.java index 51e8a171bfb..f3d1c1fcc81 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Inventories or updating existing ones.

+ *

Creates an Import Request for InventoryEntries.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java index aa3acda22d4..d72ca272f38 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new import request for order patches

+ *

Creates an Import Request for updating Orders.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPostString.java index 1ded2c1393d..9364fefd28b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new import request for order patches

+ *

Creates an Import Request for updating Orders.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java index 67d9b8747db..305a3a3ae38 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Orders.

+ *

Creates an Import Request for creating Orders.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPostString.java index c14b44ecd6f..47e51ba82e7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Orders.

+ *

Creates an Import Request for creating Orders.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java index 0aca46a7be6..1327e15d6d5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Prices or updating existing ones.

+ *

Creates an Import Request for Prices.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPostString.java index 87bbe0348bb..35c622fdb71 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Prices or updating existing ones.

+ *

Creates an Import Request for Prices.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java index d0a5ec4229b..4f1c91706bd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductDrafts or updating existing ones.

+ *

Creates an Import Request for Products.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPostString.java index 897154a1d8e..43bad47e984 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductDrafts or updating existing ones.

+ *

Creates an Import Request for Products.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost.java new file mode 100644 index 00000000000..ef0cc554cda --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost.java @@ -0,0 +1,149 @@ + +package com.commercetools.importapi.client; + +import java.net.URI; +import java.time.Duration; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.CompletableFuture; + +import com.fasterxml.jackson.core.type.TypeReference; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

Creates an Import Request for Product Selections.

+ * + *
+ *
+ *
{@code
+ *   CompletableFuture> result = apiRoot
+ *            .withProjectKeyValue("{projectKey}")
+ *            .productSelections()
+ *            .importContainers()
+ *            .withImportContainerKeyValue("{importContainerKey}")
+ *            .post(null)
+ *            .execute()
+ * }
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost extends + TypeBodyApiMethod + implements + com.commercetools.importapi.client.Secured_by_manage_product_selectionsTrait { + + @Override + public TypeReference resultType() { + return new TypeReference() { + }; + } + + private String projectKey; + private String importContainerKey; + + private com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest productSelectionImportRequest; + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost(final ApiHttpClient apiHttpClient, + String projectKey, String importContainerKey, + com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest productSelectionImportRequest) { + super(apiHttpClient); + this.projectKey = projectKey; + this.importContainerKey = importContainerKey; + this.productSelectionImportRequest = productSelectionImportRequest; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost( + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost t) { + super(t); + this.projectKey = t.projectKey; + this.importContainerKey = t.importContainerKey; + this.productSelectionImportRequest = t.productSelectionImportRequest; + } + + @Override + protected ApiHttpRequest buildHttpRequest() { + List params = new ArrayList<>(getQueryParamUriStrings()); + String httpRequestPath = String.format("%s/product-selections/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); + if (!params.isEmpty()) { + httpRequestPath += "?" + String.join("&", params); + } + return new ApiHttpRequest(ApiHttpMethod.POST, URI.create(httpRequestPath), getHeaders(), + io.vrap.rmf.base.client.utils.json.JsonUtils.executing( + () -> apiHttpClient().getSerializerService().toJsonByteArray(productSelectionImportRequest))); + + } + + @Override + public ApiHttpResponse executeBlocking( + final ApiHttpClient client, final Duration timeout) { + return executeBlocking(client, timeout, com.commercetools.importapi.models.importrequests.ImportResponse.class); + } + + @Override + public CompletableFuture> execute( + final ApiHttpClient client) { + return execute(client, com.commercetools.importapi.models.importrequests.ImportResponse.class); + } + + public String getProjectKey() { + return this.projectKey; + } + + public String getImportContainerKey() { + return this.importContainerKey; + } + + public void setProjectKey(final String projectKey) { + this.projectKey = projectKey; + } + + public void setImportContainerKey(final String importContainerKey) { + this.importContainerKey = importContainerKey; + } + + public com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest getBody() { + return productSelectionImportRequest; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost withBody( + com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest productSelectionImportRequest) { + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost t = copy(); + t.productSelectionImportRequest = productSelectionImportRequest; + return t; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost that = (ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost) o; + + return new EqualsBuilder().append(projectKey, that.projectKey) + .append(importContainerKey, that.importContainerKey) + .append(productSelectionImportRequest, that.productSelectionImportRequest) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(projectKey) + .append(importContainerKey) + .append(productSelectionImportRequest) + .toHashCode(); + } + + @Override + protected ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost copy() { + return new ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString.java new file mode 100644 index 00000000000..0f4e430ea71 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString.java @@ -0,0 +1,149 @@ + +package com.commercetools.importapi.client; + +import java.net.URI; +import java.nio.charset.StandardCharsets; +import java.time.Duration; +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.CompletableFuture; + +import com.fasterxml.jackson.core.type.TypeReference; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

Creates an Import Request for Product Selections.

+ * + *
+ *
+ *
{@code
+ *   CompletableFuture> result = apiRoot
+ *            .withProjectKeyValue("{projectKey}")
+ *            .productSelections()
+ *            .importContainers()
+ *            .withImportContainerKeyValue("{importContainerKey}")
+ *            .post("")
+ *            .execute()
+ * }
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString extends + StringBodyApiMethod + implements + com.commercetools.importapi.client.Secured_by_manage_product_selectionsTrait { + + @Override + public TypeReference resultType() { + return new TypeReference() { + }; + } + + private String projectKey; + private String importContainerKey; + + private String productSelectionImportRequest; + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString( + final ApiHttpClient apiHttpClient, String projectKey, String importContainerKey, + String productSelectionImportRequest) { + super(apiHttpClient); + this.projectKey = projectKey; + this.importContainerKey = importContainerKey; + this.productSelectionImportRequest = productSelectionImportRequest; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString( + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString t) { + super(t); + this.projectKey = t.projectKey; + this.importContainerKey = t.importContainerKey; + this.productSelectionImportRequest = t.productSelectionImportRequest; + } + + @Override + protected ApiHttpRequest buildHttpRequest() { + List params = new ArrayList<>(getQueryParamUriStrings()); + String httpRequestPath = String.format("%s/product-selections/import-containers/%s", this.projectKey, + this.importContainerKey); + if (!params.isEmpty()) { + httpRequestPath += "?" + String.join("&", params); + } + return new ApiHttpRequest(ApiHttpMethod.POST, URI.create(httpRequestPath), getHeaders(), + productSelectionImportRequest.getBytes(StandardCharsets.UTF_8)); + + } + + @Override + public ApiHttpResponse executeBlocking( + final ApiHttpClient client, final Duration timeout) { + return executeBlocking(client, timeout, com.commercetools.importapi.models.importrequests.ImportResponse.class); + } + + @Override + public CompletableFuture> execute( + final ApiHttpClient client) { + return execute(client, com.commercetools.importapi.models.importrequests.ImportResponse.class); + } + + public String getProjectKey() { + return this.projectKey; + } + + public String getImportContainerKey() { + return this.importContainerKey; + } + + public void setProjectKey(final String projectKey) { + this.projectKey = projectKey; + } + + public void setImportContainerKey(final String importContainerKey) { + this.importContainerKey = importContainerKey; + } + + public String getBody() { + return productSelectionImportRequest; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString withBody( + String productSelectionImportRequest) { + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString t = copy(); + t.productSelectionImportRequest = productSelectionImportRequest; + return t; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString that = (ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString) o; + + return new EqualsBuilder().append(projectKey, that.projectKey) + .append(importContainerKey, that.importContainerKey) + .append(productSelectionImportRequest, that.productSelectionImportRequest) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(projectKey) + .append(importContainerKey) + .append(productSelectionImportRequest) + .toHashCode(); + } + + @Override + protected ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString copy() { + return new ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder.java new file mode 100644 index 00000000000..f9c6ce46583 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder.java @@ -0,0 +1,42 @@ + +package com.commercetools.importapi.client; + +import java.util.function.UnaryOperator; + +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder { + + private final ApiHttpClient apiHttpClient; + private final String projectKey; + private final String importContainerKey; + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder( + final ApiHttpClient apiHttpClient, final String projectKey, final String importContainerKey) { + this.apiHttpClient = apiHttpClient; + this.projectKey = projectKey; + this.importContainerKey = importContainerKey; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost post( + com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest productSelectionImportRequest) { + return new ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost(apiHttpClient, projectKey, + importContainerKey, productSelectionImportRequest); + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString post( + final String productSelectionImportRequest) { + return new ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPostString(apiHttpClient, + projectKey, importContainerKey, productSelectionImportRequest); + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyPost post( + UnaryOperator op) { + return post( + op.apply(com.commercetools.importapi.models.importrequests.ProductSelectionImportRequestBuilder.of()) + .build()); + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersRequestBuilder.java new file mode 100644 index 00000000000..20ea4d04919 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsImportContainersRequestBuilder.java @@ -0,0 +1,25 @@ + +package com.commercetools.importapi.client; + +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersRequestBuilder { + + private final ApiHttpClient apiHttpClient; + private final String projectKey; + + public ByProjectKeyProductSelectionsImportContainersRequestBuilder(final ApiHttpClient apiHttpClient, + final String projectKey) { + this.apiHttpClient = apiHttpClient; + this.projectKey = projectKey; + } + + public ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder withImportContainerKeyValue( + String importContainerKey) { + return new ByProjectKeyProductSelectionsImportContainersByImportContainerKeyRequestBuilder(apiHttpClient, + projectKey, importContainerKey); + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsRequestBuilder.java new file mode 100644 index 00000000000..0de36753d91 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductSelectionsRequestBuilder.java @@ -0,0 +1,22 @@ + +package com.commercetools.importapi.client; + +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsRequestBuilder { + + private final ApiHttpClient apiHttpClient; + private final String projectKey; + + public ByProjectKeyProductSelectionsRequestBuilder(final ApiHttpClient apiHttpClient, final String projectKey) { + this.apiHttpClient = apiHttpClient; + this.projectKey = projectKey; + } + + public ByProjectKeyProductSelectionsImportContainersRequestBuilder importContainers() { + return new ByProjectKeyProductSelectionsImportContainersRequestBuilder(apiHttpClient, projectKey); + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java index caad6bbd9c2..d7b046683e1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductTypes or updating existing ones.

+ *

Creates an Import Request for ProductTypes.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPostString.java index 9316f2790e5..82dce2696f1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductTypes or updating existing ones.

+ *

Creates an Import Request for ProductTypes.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java index 2bf662e7809..40ea0cf2f79 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new import request for Product Variant Patches. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the product field set.

+ *

Creates an Import Request for updating Product Variants. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the product field set.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPostString.java index 2275d4da29e..643ecfe3205 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a new import request for Product Variant Patches. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the product field set.

+ *

Creates an Import Request for updating Product Variants. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the product field set.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java index c659ffb4198..1222b8ca777 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductVariants or updating existing ones.

+ *

Creates an Import Request for ProductVariants.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPostString.java index 4cf9e1b3605..cd1c4b456e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new ProductVariants or updating existing ones.

+ *

Creates an Import Request for ProductVariants.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java index c4976c48fe6..676dfab645c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Products or updating existing ones.

+ *

Creates an Import Request for Products.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPostString.java index 5f2d5eee2b2..73a4c75a2e4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Products or updating existing ones.

+ *

Creates an Import Request for Products.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyRequestBuilder.java index 5822e8cd874..e5a0ab41640 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyRequestBuilder.java @@ -79,4 +79,8 @@ public ByProjectKeyDiscountCodesRequestBuilder discountCodes() { return new ByProjectKeyDiscountCodesRequestBuilder(apiHttpClient, projectKey); } + public ByProjectKeyProductSelectionsRequestBuilder productSelections() { + return new ByProjectKeyProductSelectionsRequestBuilder(apiHttpClient, projectKey); + } + } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java index f4bdb5f5fc3..10ca6d27128 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Standalone Prices or updating existing ones.

+ *

Creates an Import Request for Standalone Prices.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPostString.java index 36f3f3d640b..f40ef945795 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Standalone Prices or updating existing ones.

+ *

Creates an Import Request for Standalone Prices.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java index f6c2bd64190..190ae92d162 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java @@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Type or updating existing ones.

+ *

Creates an Import Request for Types.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPostString.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPostString.java index e9d6c8f467f..087c4019d22 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPostString.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPostString.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Creates a request for creating new Type or updating existing ones.

+ *

Creates an Import Request for Types.

* *
*
diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/Secured_by_manage_product_selectionsTrait.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/Secured_by_manage_product_selectionsTrait.java new file mode 100644 index 00000000000..d698d38b0a6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/Secured_by_manage_product_selectionsTrait.java @@ -0,0 +1,22 @@ + +package com.commercetools.importapi.client; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + * Secured_by_manage_product_selectionsTrait + * @param type of extending interface + */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public interface Secured_by_manage_product_selectionsTrait> { + + default Secured_by_manage_product_selectionsTrait asSecured_by_manage_product_selectionsTrait() { + return this; + } + + @SuppressWarnings("unchecked") + default T asSecured_by_manage_product_selectionsTraitToBaseType() { + return (T) this; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImport.java index 36e8909de9c..e9f4ef8b72b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImport.java @@ -22,7 +22,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a Category to be imported that is persisted as a Category in the Project.

+ *

Represents the data used to import a Category. Once imported, this data is persisted as a Category in the Project.

* *
* Example to create an instance using the builder pattern @@ -41,7 +41,7 @@ public interface CategoryImport extends ImportResource { /** - *

User-defined unique identifier. If a Category with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Category with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -58,7 +58,7 @@ public interface CategoryImport extends ImportResource { public LocalizedString getName(); /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @return slug */ @NotNull @@ -75,7 +75,7 @@ public interface CategoryImport extends ImportResource { public LocalizedString getDescription(); /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @return parent */ @Valid @@ -131,7 +131,7 @@ public interface CategoryImport extends ImportResource { public List getAssets(); /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @return custom */ @Valid @@ -139,7 +139,7 @@ public interface CategoryImport extends ImportResource { public Custom getCustom(); /** - *

User-defined unique identifier. If a Category with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Category with this key exists, it is updated with the imported data.

* @param key value to be set */ @@ -153,7 +153,7 @@ public interface CategoryImport extends ImportResource { public void setName(final LocalizedString name); /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @param slug value to be set */ @@ -167,7 +167,7 @@ public interface CategoryImport extends ImportResource { public void setDescription(final LocalizedString description); /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @param parent value to be set */ @@ -224,7 +224,7 @@ public interface CategoryImport extends ImportResource { public void setAssets(final List assets); /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportBuilder.java index 9ee03a7d31f..b0006c9f2c2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportBuilder.java @@ -60,7 +60,7 @@ public class CategoryImportBuilder implements Builder { private com.commercetools.importapi.models.customfields.Custom custom; /** - *

User-defined unique identifier. If a Category with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Category with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -106,7 +106,7 @@ public CategoryImportBuilder name(final com.commercetools.importapi.models.commo } /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @param builder function to build the slug value * @return Builder */ @@ -118,7 +118,7 @@ public CategoryImportBuilder slug( } /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @param builder function to build the slug value * @return Builder */ @@ -130,7 +130,7 @@ public CategoryImportBuilder withSlug( } /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @param slug value to be set * @return Builder */ @@ -177,7 +177,7 @@ public CategoryImportBuilder description( } /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @param builder function to build the parent value * @return Builder */ @@ -189,7 +189,7 @@ public CategoryImportBuilder parent( } /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @param builder function to build the parent value * @return Builder */ @@ -201,7 +201,7 @@ public CategoryImportBuilder withParent( } /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @param parent value to be set * @return Builder */ @@ -432,7 +432,7 @@ public CategoryImportBuilder setAssets( } /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @param builder function to build the custom value * @return Builder */ @@ -444,7 +444,7 @@ public CategoryImportBuilder custom( } /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @param builder function to build the custom value * @return Builder */ @@ -456,7 +456,7 @@ public CategoryImportBuilder withCustom( } /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @param custom value to be set * @return Builder */ @@ -467,7 +467,7 @@ public CategoryImportBuilder custom(@Nullable final com.commercetools.importapi. } /** - *

User-defined unique identifier. If a Category with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Category with this key exists, it is updated with the imported data.

* @return key */ @@ -485,7 +485,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

* @return slug */ @@ -504,7 +504,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

* @return parent */ @@ -574,7 +574,7 @@ public java.util.List getAssets } /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java index 66c996d3e42..d61067ea3c9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/categories/CategoryImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a Category to be imported that is persisted as a Category in the Project.

+ *

Represents the data used to import a Category. Once imported, this data is persisted as a Category in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryImportImpl implements CategoryImport, ModelBase { @@ -82,7 +82,7 @@ public CategoryImportImpl() { } /** - *

User-defined unique identifier. If a Category with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Category with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -98,7 +98,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

Maps to Category.slug. Must match the pattern [-a-zA-Z0-9_]{2,256}.

+ *

Maps to Category.slug. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$.

*/ public com.commercetools.importapi.models.common.LocalizedString getSlug() { @@ -114,7 +114,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

Maps to Category.parent. The Reference to the parent Category with which the Category is associated. If referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the necessary Category is created.

+ *

Maps to Category.parent. If the referenced Category does not exist, the state of the ImportOperation will be set to unresolved until the referenced Category is created.

*/ public com.commercetools.importapi.models.common.CategoryKeyReference getParent() { @@ -170,7 +170,7 @@ public java.util.List getAssets } /** - *

The custom fields for this Category.

+ *

Maps to Category.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Address.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Address.java index 8ed1001f7a7..bae2c115ea3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Address.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Address.java @@ -34,7 +34,8 @@ public interface Address { /** - * + *

Unique identifier of the Address.

+ *

It is not recommended to set it manually since the API overwrites this ID when creating an Address for a Customer. Use key instead and omit this field from the request to let the API generate the ID for the Address.

* @return id */ @@ -42,7 +43,7 @@ public interface Address { public String getId(); /** - * + *

User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.

* @return key */ @@ -50,7 +51,7 @@ public interface Address { public String getKey(); /** - * + *

Title of the contact, for example 'Dr.'

* @return title */ @@ -58,7 +59,7 @@ public interface Address { public String getTitle(); /** - * + *

Salutation of the contact, for example 'Mr.' or 'Ms.'

* @return salutation */ @@ -66,7 +67,7 @@ public interface Address { public String getSalutation(); /** - * + *

Given name (first name) of the contact.

* @return firstName */ @@ -74,7 +75,7 @@ public interface Address { public String getFirstName(); /** - * + *

Family name (last name) of the contact.

* @return lastName */ @@ -82,7 +83,7 @@ public interface Address { public String getLastName(); /** - * + *

Name of the street.

* @return streetName */ @@ -90,7 +91,7 @@ public interface Address { public String getStreetName(); /** - * + *

Street number.

* @return streetNumber */ @@ -98,7 +99,7 @@ public interface Address { public String getStreetNumber(); /** - * + *

Further information on the street address.

* @return additionalStreetInfo */ @@ -106,7 +107,7 @@ public interface Address { public String getAdditionalStreetInfo(); /** - * + *

Postal code.

* @return postalCode */ @@ -114,7 +115,7 @@ public interface Address { public String getPostalCode(); /** - * + *

Name of the city.

* @return city */ @@ -122,7 +123,7 @@ public interface Address { public String getCity(); /** - * + *

Name of the region.

* @return region */ @@ -130,7 +131,7 @@ public interface Address { public String getRegion(); /** - * + *

Name of the state, for example, Colorado.

* @return state */ @@ -138,7 +139,7 @@ public interface Address { public String getState(); /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Name of the country.

* @return country */ @NotNull @@ -146,7 +147,7 @@ public interface Address { public String getCountry(); /** - * + *

Name of the company.

* @return company */ @@ -154,7 +155,7 @@ public interface Address { public String getCompany(); /** - * + *

Name of the department.

* @return department */ @@ -162,7 +163,7 @@ public interface Address { public String getDepartment(); /** - * + *

Number or name of the building.

* @return building */ @@ -170,7 +171,7 @@ public interface Address { public String getBuilding(); /** - * + *

Number or name of the apartment.

* @return apartment */ @@ -178,7 +179,7 @@ public interface Address { public String getApartment(); /** - * + *

Post office box number.

* @return pOBox */ @@ -186,7 +187,7 @@ public interface Address { public String getPOBox(); /** - * + *

Phone number of the contact.

* @return phone */ @@ -194,7 +195,7 @@ public interface Address { public String getPhone(); /** - * + *

Mobile phone number of the contact.

* @return mobile */ @@ -202,7 +203,7 @@ public interface Address { public String getMobile(); /** - * + *

Email address of the contact.

* @return email */ @@ -210,7 +211,7 @@ public interface Address { public String getEmail(); /** - * + *

Fax number of the contact.

* @return fax */ @@ -218,7 +219,7 @@ public interface Address { public String getFax(); /** - * + *

Further information on the Address.

* @return additionalAddressInfo */ @@ -226,7 +227,7 @@ public interface Address { public String getAdditionalAddressInfo(); /** - * + *

ID for the contact used in an external system.

* @return externalId */ @@ -234,7 +235,7 @@ public interface Address { public String getExternalId(); /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @return custom */ @Valid @@ -242,182 +243,183 @@ public interface Address { public Custom getCustom(); /** - * set id + *

Unique identifier of the Address.

+ *

It is not recommended to set it manually since the API overwrites this ID when creating an Address for a Customer. Use key instead and omit this field from the request to let the API generate the ID for the Address.

* @param id value to be set */ public void setId(final String id); /** - * set key + *

User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.

* @param key value to be set */ public void setKey(final String key); /** - * set title + *

Title of the contact, for example 'Dr.'

* @param title value to be set */ public void setTitle(final String title); /** - * set salutation + *

Salutation of the contact, for example 'Mr.' or 'Ms.'

* @param salutation value to be set */ public void setSalutation(final String salutation); /** - * set firstName + *

Given name (first name) of the contact.

* @param firstName value to be set */ public void setFirstName(final String firstName); /** - * set lastName + *

Family name (last name) of the contact.

* @param lastName value to be set */ public void setLastName(final String lastName); /** - * set streetName + *

Name of the street.

* @param streetName value to be set */ public void setStreetName(final String streetName); /** - * set streetNumber + *

Street number.

* @param streetNumber value to be set */ public void setStreetNumber(final String streetNumber); /** - * set additionalStreetInfo + *

Further information on the street address.

* @param additionalStreetInfo value to be set */ public void setAdditionalStreetInfo(final String additionalStreetInfo); /** - * set postalCode + *

Postal code.

* @param postalCode value to be set */ public void setPostalCode(final String postalCode); /** - * set city + *

Name of the city.

* @param city value to be set */ public void setCity(final String city); /** - * set region + *

Name of the region.

* @param region value to be set */ public void setRegion(final String region); /** - * set state + *

Name of the state, for example, Colorado.

* @param state value to be set */ public void setState(final String state); /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Name of the country.

* @param country value to be set */ public void setCountry(final String country); /** - * set company + *

Name of the company.

* @param company value to be set */ public void setCompany(final String company); /** - * set department + *

Name of the department.

* @param department value to be set */ public void setDepartment(final String department); /** - * set building + *

Number or name of the building.

* @param building value to be set */ public void setBuilding(final String building); /** - * set apartment + *

Number or name of the apartment.

* @param apartment value to be set */ public void setApartment(final String apartment); /** - * set pOBox + *

Post office box number.

* @param pOBox value to be set */ public void setPOBox(final String pOBox); /** - * set phone + *

Phone number of the contact.

* @param phone value to be set */ public void setPhone(final String phone); /** - * set mobile + *

Mobile phone number of the contact.

* @param mobile value to be set */ public void setMobile(final String mobile); /** - * set email + *

Email address of the contact.

* @param email value to be set */ public void setEmail(final String email); /** - * set fax + *

Fax number of the contact.

* @param fax value to be set */ public void setFax(final String fax); /** - * set additionalAddressInfo + *

Further information on the Address.

* @param additionalAddressInfo value to be set */ public void setAdditionalAddressInfo(final String additionalAddressInfo); /** - * set externalId + *

ID for the contact used in an external system.

* @param externalId value to be set */ public void setExternalId(final String externalId); /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressBuilder.java index 1779483abee..70d231b7081 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressBuilder.java @@ -102,7 +102,8 @@ public class AddressBuilder implements Builder
{ private com.commercetools.importapi.models.customfields.Custom custom; /** - * set the value to the id + *

Unique identifier of the Address.

+ *

It is not recommended to set it manually since the API overwrites this ID when creating an Address for a Customer. Use key instead and omit this field from the request to let the API generate the ID for the Address.

* @param id value to be set * @return Builder */ @@ -113,7 +114,7 @@ public AddressBuilder id(@Nullable final String id) { } /** - * set the value to the key + *

User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.

* @param key value to be set * @return Builder */ @@ -124,7 +125,7 @@ public AddressBuilder key(@Nullable final String key) { } /** - * set the value to the title + *

Title of the contact, for example 'Dr.'

* @param title value to be set * @return Builder */ @@ -135,7 +136,7 @@ public AddressBuilder title(@Nullable final String title) { } /** - * set the value to the salutation + *

Salutation of the contact, for example 'Mr.' or 'Ms.'

* @param salutation value to be set * @return Builder */ @@ -146,7 +147,7 @@ public AddressBuilder salutation(@Nullable final String salutation) { } /** - * set the value to the firstName + *

Given name (first name) of the contact.

* @param firstName value to be set * @return Builder */ @@ -157,7 +158,7 @@ public AddressBuilder firstName(@Nullable final String firstName) { } /** - * set the value to the lastName + *

Family name (last name) of the contact.

* @param lastName value to be set * @return Builder */ @@ -168,7 +169,7 @@ public AddressBuilder lastName(@Nullable final String lastName) { } /** - * set the value to the streetName + *

Name of the street.

* @param streetName value to be set * @return Builder */ @@ -179,7 +180,7 @@ public AddressBuilder streetName(@Nullable final String streetName) { } /** - * set the value to the streetNumber + *

Street number.

* @param streetNumber value to be set * @return Builder */ @@ -190,7 +191,7 @@ public AddressBuilder streetNumber(@Nullable final String streetNumber) { } /** - * set the value to the additionalStreetInfo + *

Further information on the street address.

* @param additionalStreetInfo value to be set * @return Builder */ @@ -201,7 +202,7 @@ public AddressBuilder additionalStreetInfo(@Nullable final String additionalStre } /** - * set the value to the postalCode + *

Postal code.

* @param postalCode value to be set * @return Builder */ @@ -212,7 +213,7 @@ public AddressBuilder postalCode(@Nullable final String postalCode) { } /** - * set the value to the city + *

Name of the city.

* @param city value to be set * @return Builder */ @@ -223,7 +224,7 @@ public AddressBuilder city(@Nullable final String city) { } /** - * set the value to the region + *

Name of the region.

* @param region value to be set * @return Builder */ @@ -234,7 +235,7 @@ public AddressBuilder region(@Nullable final String region) { } /** - * set the value to the state + *

Name of the state, for example, Colorado.

* @param state value to be set * @return Builder */ @@ -245,7 +246,7 @@ public AddressBuilder state(@Nullable final String state) { } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Name of the country.

* @param country value to be set * @return Builder */ @@ -256,7 +257,7 @@ public AddressBuilder country(final String country) { } /** - * set the value to the company + *

Name of the company.

* @param company value to be set * @return Builder */ @@ -267,7 +268,7 @@ public AddressBuilder company(@Nullable final String company) { } /** - * set the value to the department + *

Name of the department.

* @param department value to be set * @return Builder */ @@ -278,7 +279,7 @@ public AddressBuilder department(@Nullable final String department) { } /** - * set the value to the building + *

Number or name of the building.

* @param building value to be set * @return Builder */ @@ -289,7 +290,7 @@ public AddressBuilder building(@Nullable final String building) { } /** - * set the value to the apartment + *

Number or name of the apartment.

* @param apartment value to be set * @return Builder */ @@ -300,7 +301,7 @@ public AddressBuilder apartment(@Nullable final String apartment) { } /** - * set the value to the pOBox + *

Post office box number.

* @param pOBox value to be set * @return Builder */ @@ -311,7 +312,7 @@ public AddressBuilder pOBox(@Nullable final String pOBox) { } /** - * set the value to the phone + *

Phone number of the contact.

* @param phone value to be set * @return Builder */ @@ -322,7 +323,7 @@ public AddressBuilder phone(@Nullable final String phone) { } /** - * set the value to the mobile + *

Mobile phone number of the contact.

* @param mobile value to be set * @return Builder */ @@ -333,7 +334,7 @@ public AddressBuilder mobile(@Nullable final String mobile) { } /** - * set the value to the email + *

Email address of the contact.

* @param email value to be set * @return Builder */ @@ -344,7 +345,7 @@ public AddressBuilder email(@Nullable final String email) { } /** - * set the value to the fax + *

Fax number of the contact.

* @param fax value to be set * @return Builder */ @@ -355,7 +356,7 @@ public AddressBuilder fax(@Nullable final String fax) { } /** - * set the value to the additionalAddressInfo + *

Further information on the Address.

* @param additionalAddressInfo value to be set * @return Builder */ @@ -366,7 +367,7 @@ public AddressBuilder additionalAddressInfo(@Nullable final String additionalAdd } /** - * set the value to the externalId + *

ID for the contact used in an external system.

* @param externalId value to be set * @return Builder */ @@ -377,7 +378,7 @@ public AddressBuilder externalId(@Nullable final String externalId) { } /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @param builder function to build the custom value * @return Builder */ @@ -389,7 +390,7 @@ public AddressBuilder custom( } /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @param builder function to build the custom value * @return Builder */ @@ -401,7 +402,7 @@ public AddressBuilder withCustom( } /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @param custom value to be set * @return Builder */ @@ -412,7 +413,8 @@ public AddressBuilder custom(@Nullable final com.commercetools.importapi.models. } /** - * value of id} + *

Unique identifier of the Address.

+ *

It is not recommended to set it manually since the API overwrites this ID when creating an Address for a Customer. Use key instead and omit this field from the request to let the API generate the ID for the Address.

* @return id */ @@ -422,7 +424,7 @@ public String getId() { } /** - * value of key} + *

User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.

* @return key */ @@ -432,7 +434,7 @@ public String getKey() { } /** - * value of title} + *

Title of the contact, for example 'Dr.'

* @return title */ @@ -442,7 +444,7 @@ public String getTitle() { } /** - * value of salutation} + *

Salutation of the contact, for example 'Mr.' or 'Ms.'

* @return salutation */ @@ -452,7 +454,7 @@ public String getSalutation() { } /** - * value of firstName} + *

Given name (first name) of the contact.

* @return firstName */ @@ -462,7 +464,7 @@ public String getFirstName() { } /** - * value of lastName} + *

Family name (last name) of the contact.

* @return lastName */ @@ -472,7 +474,7 @@ public String getLastName() { } /** - * value of streetName} + *

Name of the street.

* @return streetName */ @@ -482,7 +484,7 @@ public String getStreetName() { } /** - * value of streetNumber} + *

Street number.

* @return streetNumber */ @@ -492,7 +494,7 @@ public String getStreetNumber() { } /** - * value of additionalStreetInfo} + *

Further information on the street address.

* @return additionalStreetInfo */ @@ -502,7 +504,7 @@ public String getAdditionalStreetInfo() { } /** - * value of postalCode} + *

Postal code.

* @return postalCode */ @@ -512,7 +514,7 @@ public String getPostalCode() { } /** - * value of city} + *

Name of the city.

* @return city */ @@ -522,7 +524,7 @@ public String getCity() { } /** - * value of region} + *

Name of the region.

* @return region */ @@ -532,7 +534,7 @@ public String getRegion() { } /** - * value of state} + *

Name of the state, for example, Colorado.

* @return state */ @@ -542,7 +544,7 @@ public String getState() { } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Name of the country.

* @return country */ @@ -551,7 +553,7 @@ public String getCountry() { } /** - * value of company} + *

Name of the company.

* @return company */ @@ -561,7 +563,7 @@ public String getCompany() { } /** - * value of department} + *

Name of the department.

* @return department */ @@ -571,7 +573,7 @@ public String getDepartment() { } /** - * value of building} + *

Number or name of the building.

* @return building */ @@ -581,7 +583,7 @@ public String getBuilding() { } /** - * value of apartment} + *

Number or name of the apartment.

* @return apartment */ @@ -591,7 +593,7 @@ public String getApartment() { } /** - * value of pOBox} + *

Post office box number.

* @return pOBox */ @@ -601,7 +603,7 @@ public String getPOBox() { } /** - * value of phone} + *

Phone number of the contact.

* @return phone */ @@ -611,7 +613,7 @@ public String getPhone() { } /** - * value of mobile} + *

Mobile phone number of the contact.

* @return mobile */ @@ -621,7 +623,7 @@ public String getMobile() { } /** - * value of email} + *

Email address of the contact.

* @return email */ @@ -631,7 +633,7 @@ public String getEmail() { } /** - * value of fax} + *

Fax number of the contact.

* @return fax */ @@ -641,7 +643,7 @@ public String getFax() { } /** - * value of additionalAddressInfo} + *

Further information on the Address.

* @return additionalAddressInfo */ @@ -651,7 +653,7 @@ public String getAdditionalAddressInfo() { } /** - * value of externalId} + *

ID for the contact used in an external system.

* @return externalId */ @@ -661,7 +663,7 @@ public String getExternalId() { } /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java index 1ff8540793b..2c0cfc07985 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AddressImpl.java @@ -129,7 +129,8 @@ public AddressImpl() { } /** - * + *

Unique identifier of the Address.

+ *

It is not recommended to set it manually since the API overwrites this ID when creating an Address for a Customer. Use key instead and omit this field from the request to let the API generate the ID for the Address.

*/ public String getId() { @@ -137,7 +138,7 @@ public String getId() { } /** - * + *

User-defined identifier of the Address that must be unique when multiple addresses are referenced in BusinessUnits, Customers, and itemShippingAddresses (LineItem-specific addresses) of a Cart, Order, QuoteRequest, or Quote.

*/ public String getKey() { @@ -145,7 +146,7 @@ public String getKey() { } /** - * + *

Title of the contact, for example 'Dr.'

*/ public String getTitle() { @@ -153,7 +154,7 @@ public String getTitle() { } /** - * + *

Salutation of the contact, for example 'Mr.' or 'Ms.'

*/ public String getSalutation() { @@ -161,7 +162,7 @@ public String getSalutation() { } /** - * + *

Given name (first name) of the contact.

*/ public String getFirstName() { @@ -169,7 +170,7 @@ public String getFirstName() { } /** - * + *

Family name (last name) of the contact.

*/ public String getLastName() { @@ -177,7 +178,7 @@ public String getLastName() { } /** - * + *

Name of the street.

*/ public String getStreetName() { @@ -185,7 +186,7 @@ public String getStreetName() { } /** - * + *

Street number.

*/ public String getStreetNumber() { @@ -193,7 +194,7 @@ public String getStreetNumber() { } /** - * + *

Further information on the street address.

*/ public String getAdditionalStreetInfo() { @@ -201,7 +202,7 @@ public String getAdditionalStreetInfo() { } /** - * + *

Postal code.

*/ public String getPostalCode() { @@ -209,7 +210,7 @@ public String getPostalCode() { } /** - * + *

Name of the city.

*/ public String getCity() { @@ -217,7 +218,7 @@ public String getCity() { } /** - * + *

Name of the region.

*/ public String getRegion() { @@ -225,7 +226,7 @@ public String getRegion() { } /** - * + *

Name of the state, for example, Colorado.

*/ public String getState() { @@ -233,7 +234,7 @@ public String getState() { } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Name of the country.

*/ public String getCountry() { @@ -241,7 +242,7 @@ public String getCountry() { } /** - * + *

Name of the company.

*/ public String getCompany() { @@ -249,7 +250,7 @@ public String getCompany() { } /** - * + *

Name of the department.

*/ public String getDepartment() { @@ -257,7 +258,7 @@ public String getDepartment() { } /** - * + *

Number or name of the building.

*/ public String getBuilding() { @@ -265,7 +266,7 @@ public String getBuilding() { } /** - * + *

Number or name of the apartment.

*/ public String getApartment() { @@ -273,7 +274,7 @@ public String getApartment() { } /** - * + *

Post office box number.

*/ public String getPOBox() { @@ -281,7 +282,7 @@ public String getPOBox() { } /** - * + *

Phone number of the contact.

*/ public String getPhone() { @@ -289,7 +290,7 @@ public String getPhone() { } /** - * + *

Mobile phone number of the contact.

*/ public String getMobile() { @@ -297,7 +298,7 @@ public String getMobile() { } /** - * + *

Email address of the contact.

*/ public String getEmail() { @@ -305,7 +306,7 @@ public String getEmail() { } /** - * + *

Fax number of the contact.

*/ public String getFax() { @@ -313,7 +314,7 @@ public String getFax() { } /** - * + *

Further information on the Address.

*/ public String getAdditionalAddressInfo() { @@ -321,7 +322,7 @@ public String getAdditionalAddressInfo() { } /** - * + *

ID for the contact used in an external system.

*/ public String getExternalId() { @@ -329,7 +330,7 @@ public String getExternalId() { } /** - *

Custom Fields defined for the Address. Custom Fields can only be applied to shippingAddress.

+ *

Custom Fields defined for the Address.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Asset.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Asset.java index 62b37ebaec2..936653751ee 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Asset.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/Asset.java @@ -54,12 +54,7 @@ public interface Asset { public List getSources(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @return name */ @NotNull @@ -68,12 +63,7 @@ public interface Asset { public LocalizedString getName(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @return description */ @Valid @@ -81,7 +71,7 @@ public interface Asset { public LocalizedString getDescription(); /** - * + *

Keywords for categorizing and organizing Assets.

* @return tags */ @@ -89,7 +79,7 @@ public interface Asset { public List getTags(); /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @return custom */ @Valid @@ -119,31 +109,21 @@ public interface Asset { public void setSources(final List sources); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @param name value to be set */ public void setName(final LocalizedString name); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @param description value to be set */ public void setDescription(final LocalizedString description); /** - * set tags + *

Keywords for categorizing and organizing Assets.

* @param tags values to be set */ @@ -151,14 +131,14 @@ public interface Asset { public void setTags(final String... tags); /** - * set tags + *

Keywords for categorizing and organizing Assets.

* @param tags values to be set */ public void setTags(final List tags); /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetBuilder.java index 1343ab7b80c..f6ffed335e9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetBuilder.java @@ -139,12 +139,7 @@ public AssetBuilder setSources( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @param builder function to build the name value * @return Builder */ @@ -156,12 +151,7 @@ public AssetBuilder name( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @param builder function to build the name value * @return Builder */ @@ -173,12 +163,7 @@ public AssetBuilder withName( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @param name value to be set * @return Builder */ @@ -189,12 +174,7 @@ public AssetBuilder name(final com.commercetools.importapi.models.common.Localiz } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @param builder function to build the description value * @return Builder */ @@ -206,12 +186,7 @@ public AssetBuilder description( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @param builder function to build the description value * @return Builder */ @@ -223,12 +198,7 @@ public AssetBuilder withDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @param description value to be set * @return Builder */ @@ -240,7 +210,7 @@ public AssetBuilder description( } /** - * set values to the tags + *

Keywords for categorizing and organizing Assets.

* @param tags value to be set * @return Builder */ @@ -251,7 +221,7 @@ public AssetBuilder tags(@Nullable final String... tags) { } /** - * set value to the tags + *

Keywords for categorizing and organizing Assets.

* @param tags value to be set * @return Builder */ @@ -262,7 +232,7 @@ public AssetBuilder tags(@Nullable final java.util.List tags) { } /** - * add values to the tags + *

Keywords for categorizing and organizing Assets.

* @param tags value to be set * @return Builder */ @@ -276,7 +246,7 @@ public AssetBuilder plusTags(@Nullable final String... tags) { } /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @param builder function to build the custom value * @return Builder */ @@ -288,7 +258,7 @@ public AssetBuilder custom( } /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @param builder function to build the custom value * @return Builder */ @@ -300,7 +270,7 @@ public AssetBuilder withCustom( } /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @param custom value to be set * @return Builder */ @@ -329,12 +299,7 @@ public java.util.List get } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

* @return name */ @@ -343,12 +308,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

* @return description */ @@ -358,7 +318,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - * value of tags} + *

Keywords for categorizing and organizing Assets.

* @return tags */ @@ -368,7 +328,7 @@ public java.util.List getTags() { } /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java index dd85bf6b301..990d9e4b550 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/AssetImpl.java @@ -75,12 +75,7 @@ public java.util.List get } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Name of the Asset.

*/ public com.commercetools.importapi.models.common.LocalizedString getName() { @@ -88,12 +83,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Description of the Asset.

*/ public com.commercetools.importapi.models.common.LocalizedString getDescription() { @@ -101,7 +91,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - * + *

Keywords for categorizing and organizing Assets.

*/ public java.util.List getTags() { @@ -109,7 +99,7 @@ public java.util.List getTags() { } /** - *

The representation to be sent to the server when creating a resource with custom fields.

+ *

Custom Fields defined for the Asset.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReference.java index a30a7afdc46..a0cd6ae09a3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a cart discount by key.

+ *

Used by the Import API to identify a CartDiscount.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface CartDiscountKeyReference extends KeyReference { */ String CART_DISCOUNT = "cart-discount"; + /** + *

User-defined unique identifier of the referenced CartDiscount.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced CartDiscount.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of CartDiscountKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceBuilder.java index c8c653ca64a..5aed9685560 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class CartDiscountKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced CartDiscount.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public CartDiscountKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced CartDiscount.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java index 60a386470d6..d0cf4de3185 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a cart discount by key.

+ *

Used by the Import API to identify a CartDiscount.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CartDiscountKeyReferenceImpl implements CartDiscountKeyReference, ModelBase { @@ -43,7 +43,7 @@ public CartDiscountKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced CartDiscount.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReference.java index 0287a07aa11..53549b21987 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a cart by key.

+ *

Used by the Import API to identify a Cart

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface CartKeyReference extends KeyReference { */ String CART = "cart"; + /** + *

User-defined unique identifier of the referenced Cart.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Cart.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of CartKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceBuilder.java index 0689ffc02ec..2987dcccec0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class CartKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Cart.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public CartKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Cart.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java index 53e883fbc98..29e0a5f2bf6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a cart by key.

+ *

Used by the Import API to identify a Cart

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CartKeyReferenceImpl implements CartKeyReference, ModelBase { @@ -43,7 +43,7 @@ public CartKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Cart.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReference.java index 5179eea9486..718aa1ece8c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a category by key.

+ *

Used by the Import API to identify a Category.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface CategoryKeyReference extends KeyReference { */ String CATEGORY = "category"; + /** + *

User-defined unique identifier of the referenced Category.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Category.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of CategoryKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceBuilder.java index d4a26f3623e..6f43f9585c5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class CategoryKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced Category.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public CategoryKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Category.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java index 53e2d880c7b..19f4d3024b3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a category by key.

+ *

Used by the Import API to identify a Category.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CategoryKeyReferenceImpl implements CategoryKeyReference, ModelBase { @@ -43,7 +43,7 @@ public CategoryKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Category.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReference.java index 157a54a5c94..6b9fbc6e215 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a channel by key.

+ *

Used by the Import API to identify a Channel.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ChannelKeyReference extends KeyReference { */ String CHANNEL = "channel"; + /** + *

User-defined unique identifier of the referenced Channel.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Channel.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ChannelKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceBuilder.java index 36e3313f790..4840bc13e79 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ChannelKeyReferenceBuilder implements Builder private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Channel.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ChannelKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Channel.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java index bc8316f81f7..32f0a9fb700 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a channel by key.

+ *

Used by the Import API to identify a Channel.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ChannelKeyReferenceImpl implements ChannelKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ChannelKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Channel.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReference.java index 68dda8749bc..3c6bb0ace2c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReference.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - *

References a key value document by key.

+ *

Used by the Import API to identify a CustomObject.

* *
* Example to create an instance using the builder pattern @@ -39,7 +39,15 @@ public interface CustomObjectKeyReference extends KeyReference { String KEY_VALUE_DOCUMENT = "key-value-document"; /** - * + *

User-defined unique identifier of the referenced CustomObject.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

The container of the referenced CustomObject.

* @return container */ @NotNull @@ -47,7 +55,14 @@ public interface CustomObjectKeyReference extends KeyReference { public String getContainer(); /** - * set container + *

User-defined unique identifier of the referenced CustomObject.

+ * @param key value to be set + */ + + public void setKey(final String key); + + /** + *

The container of the referenced CustomObject.

* @param container value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceBuilder.java index b57b1f03981..5d4c25ad66e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceBuilder.java @@ -27,7 +27,7 @@ public class CustomObjectKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced CustomObject.

* @param key value to be set * @return Builder */ @@ -38,7 +38,7 @@ public CustomObjectKeyReferenceBuilder key(final String key) { } /** - * set the value to the container + *

The container of the referenced CustomObject.

* @param container value to be set * @return Builder */ @@ -49,7 +49,7 @@ public CustomObjectKeyReferenceBuilder container(final String container) { } /** - * value of key} + *

User-defined unique identifier of the referenced CustomObject.

* @return key */ @@ -58,7 +58,7 @@ public String getKey() { } /** - * value of container} + *

The container of the referenced CustomObject.

* @return container */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java index c2ccb506d4d..322d86f8263 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a key value document by key.

+ *

Used by the Import API to identify a CustomObject.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomObjectKeyReferenceImpl implements CustomObjectKeyReference, ModelBase { @@ -47,7 +47,7 @@ public CustomObjectKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced CustomObject.

*/ public String getKey() { @@ -55,7 +55,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { @@ -63,7 +63,7 @@ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { } /** - * + *

The container of the referenced CustomObject.

*/ public String getContainer() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReference.java index 46a81d285d2..c22b14e8555 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a customer group by key.

+ *

Used by the Import API to identify a CustomerGroup.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface CustomerGroupKeyReference extends KeyReference { */ String CUSTOMER_GROUP = "customer-group"; + /** + *

User-defined unique identifier of the referenced CustomerGroup.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced CustomerGroup.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of CustomerGroupKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceBuilder.java index eff068ae1fb..0c73e8f4656 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class CustomerGroupKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced CustomerGroup.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public CustomerGroupKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced CustomerGroup.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java index 44362e704e8..c370f0c2dcd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a customer group by key.

+ *

Used by the Import API to identify a CustomerGroup.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerGroupKeyReferenceImpl implements CustomerGroupKeyReference, ModelBase { @@ -43,7 +43,7 @@ public CustomerGroupKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced CustomerGroup.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReference.java index 8fddd9a1124..02e5017be79 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a customer by key.

+ *

Used by the Import API to identify a Customer.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface CustomerKeyReference extends KeyReference { */ String CUSTOMER = "customer"; + /** + *

User-defined unique identifier of the referenced Customer.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Customer.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of CustomerKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceBuilder.java index adb02405d5c..60e5073bd49 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class CustomerKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced Customer.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public CustomerKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Customer.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java index 9309ead36e2..9c8e4e7e06f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a customer by key.

+ *

Used by the Import API to identify a Customer.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerKeyReferenceImpl implements CustomerKeyReference, ModelBase { @@ -43,7 +43,7 @@ public CustomerKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Customer.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReference.java index 5ab97b46dc1..c9d22b4038e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a discount code by key.

+ *

Used by the Import API to identify a DiscountCode.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface DiscountCodeKeyReference extends KeyReference { */ String DISCOUNT_CODE = "discount-code"; + /** + *

User-defined unique identifier of the referenced DiscountCode.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced DiscountCode.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of DiscountCodeKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceBuilder.java index 0d174714201..77f0817335b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class DiscountCodeKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced DiscountCode.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public DiscountCodeKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced DiscountCode.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java index 842b5f1acf1..08eebad135b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a discount code by key.

+ *

Used by the Import API to identify a DiscountCode.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DiscountCodeKeyReferenceImpl implements DiscountCodeKeyReference, ModelBase { @@ -43,7 +43,7 @@ public DiscountCodeKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced DiscountCode.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPrice.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPrice.java index bbd7f45b276..ec54a971322 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPrice.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPrice.java @@ -43,7 +43,7 @@ public interface DiscountedPrice { public TypedMoney getValue(); /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @return discount */ @NotNull @@ -59,7 +59,7 @@ public interface DiscountedPrice { public void setValue(final TypedMoney value); /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @param discount value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceBuilder.java index 27d5711ac3d..69f6d3b2fbb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceBuilder.java @@ -51,7 +51,7 @@ public DiscountedPriceBuilder value( } /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @param builder function to build the discount value * @return Builder */ @@ -64,7 +64,7 @@ public DiscountedPriceBuilder discount( } /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @param builder function to build the discount value * @return Builder */ @@ -77,7 +77,7 @@ public DiscountedPriceBuilder withDiscount( } /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @param discount value to be set * @return Builder */ @@ -98,7 +98,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

* @return discount */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java index 17cb93f1aa3..3902ecc046b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/DiscountedPriceImpl.java @@ -51,7 +51,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

Reference to a ProductDiscount.

+ *

Reference to a ProductDiscount. If the referenced ProductDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductDiscount is created.

*/ public com.commercetools.importapi.models.common.ProductDiscountKeyReference getDiscount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyBuilder.java index ab19839ea42..c4057989dd7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyBuilder.java @@ -35,7 +35,7 @@ public class HighPrecisionMoneyBuilder implements Builder { private Long preciseAmount; /** - * set the value to the fractionDigits + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @param fractionDigits value to be set * @return Builder */ @@ -46,7 +46,11 @@ public HighPrecisionMoneyBuilder fractionDigits(@Nullable final Integer fraction } /** - * set the value to the centAmount + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @param centAmount value to be set * @return Builder */ @@ -79,7 +83,7 @@ public HighPrecisionMoneyBuilder preciseAmount(final Long preciseAmount) { } /** - * value of fractionDigits} + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @return fractionDigits */ @@ -89,7 +93,11 @@ public Integer getFractionDigits() { } /** - * value of centAmount} + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @return centAmount */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java index 5ced1cf368e..1eae70943f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/HighPrecisionMoneyImpl.java @@ -54,7 +54,7 @@ public HighPrecisionMoneyImpl() { } /** - * + *

The type of money. The centPrecision type is used for currencies with minor units, such as EUR and USD. The highPrecision type is used for currencies without minor units, such as JPY.

*/ public com.commercetools.importapi.models.common.MoneyType getType() { @@ -62,7 +62,7 @@ public com.commercetools.importapi.models.common.MoneyType getType() { } /** - * + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

*/ public Integer getFractionDigits() { @@ -70,7 +70,11 @@ public Integer getFractionDigits() { } /** - * + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
*/ public Long getCentAmount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceType.java index 7259f3435d9..0b296a8f9d8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ImportResourceType.java @@ -23,6 +23,9 @@ public interface ImportResourceType extends JsonEnum {

The Customer import resource type.

*/ ImportResourceType CUSTOMER = ImportResourceTypeEnum.CUSTOMER; /** +

The Discount Code import resource type.

*/ + ImportResourceType DISCOUNT_CODE = ImportResourceTypeEnum.DISCOUNT_CODE; + /**

The Inventory import resource type.

*/ ImportResourceType INVENTORY = ImportResourceTypeEnum.INVENTORY; /** @@ -41,6 +44,9 @@ public interface ImportResourceType extends JsonEnum {

The Product draft import resource type.

*/ ImportResourceType PRODUCT_DRAFT = ImportResourceTypeEnum.PRODUCT_DRAFT; /** +

The Product Selection import resource type.

*/ + ImportResourceType PRODUCT_SELECTION = ImportResourceTypeEnum.PRODUCT_SELECTION; + /**

The Product Type import resource type.

*/ ImportResourceType PRODUCT_TYPE = ImportResourceTypeEnum.PRODUCT_TYPE; /** @@ -55,9 +61,6 @@ public interface ImportResourceType extends JsonEnum { /**

The Type import resource type.

*/ ImportResourceType TYPE = ImportResourceTypeEnum.TYPE; - /** -

The Discount Code import resource type.

*/ - ImportResourceType DISCOUNT_CODE = ImportResourceTypeEnum.DISCOUNT_CODE; /** * possible values of ImportResourceType @@ -73,6 +76,11 @@ enum ImportResourceTypeEnum implements ImportResourceType { */ CUSTOMER("customer"), + /** + * discount-code + */ + DISCOUNT_CODE("discount-code"), + /** * inventory */ @@ -103,6 +111,11 @@ enum ImportResourceTypeEnum implements ImportResourceType { */ PRODUCT_DRAFT("product-draft"), + /** + * product-selection + */ + PRODUCT_SELECTION("product-selection"), + /** * product-type */ @@ -126,12 +139,7 @@ enum ImportResourceTypeEnum implements ImportResourceType { /** * type */ - TYPE("type"), - - /** - * discount-code - */ - DISCOUNT_CODE("discount-code"); + TYPE("type"); private final String jsonName; private ImportResourceTypeEnum(final String jsonName) { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReference.java index 74a6416efbc..dddecb37016 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReference.java @@ -33,7 +33,7 @@ public interface KeyReference { /** - * + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

* @return key */ @NotNull @@ -41,7 +41,7 @@ public interface KeyReference { public String getKey(); /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

* @return typeId */ @NotNull @@ -49,7 +49,7 @@ public interface KeyReference { public ReferenceType getTypeId(); /** - * set key + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java index a9e3470028d..f73fe1f8581 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/KeyReferenceImpl.java @@ -43,7 +43,7 @@ public KeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyBuilder.java index 93af046d13d..45b388b2c40 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyBuilder.java @@ -32,7 +32,7 @@ public class MoneyBuilder implements Builder { private String currencyCode; /** - * set the value to the fractionDigits + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @param fractionDigits value to be set * @return Builder */ @@ -43,7 +43,11 @@ public MoneyBuilder fractionDigits(@Nullable final Integer fractionDigits) { } /** - * set the value to the centAmount + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @param centAmount value to be set * @return Builder */ @@ -65,7 +69,7 @@ public MoneyBuilder currencyCode(final String currencyCode) { } /** - * value of fractionDigits} + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @return fractionDigits */ @@ -75,7 +79,11 @@ public Integer getFractionDigits() { } /** - * value of centAmount} + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @return centAmount */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java index 4c9bacc15da..b4b7e819ba2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyImpl.java @@ -51,7 +51,7 @@ public MoneyImpl() { } /** - * + *

The type of money. The centPrecision type is used for currencies with minor units, such as EUR and USD. The highPrecision type is used for currencies without minor units, such as JPY.

*/ public com.commercetools.importapi.models.common.MoneyType getType() { @@ -59,7 +59,7 @@ public com.commercetools.importapi.models.common.MoneyType getType() { } /** - * + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

*/ public Integer getFractionDigits() { @@ -67,7 +67,11 @@ public Integer getFractionDigits() { } /** - * + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
*/ public Long getCentAmount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyType.java index 4f9ac617897..424afea7fba 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/MoneyType.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * MoneyType + *

The type of money. The centPrecision type is used for currencies with minor units, such as EUR and USD. The highPrecision type is used for currencies without minor units, such as JPY.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface MoneyType extends JsonEnum { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceBuilder.java index 50d239d3704..31478c00266 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class OrderKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public OrderKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java index 524d3328a45..2acb553c2fc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/OrderKeyReferenceImpl.java @@ -43,7 +43,7 @@ public OrderKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced resource. If the referenced resource does not exist, the state of the ImportOperation will be set to unresolved until the referenced resource is created.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReference.java index 1828671be56..6281bea0971 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a payment by key.

+ *

Used by the Import API to identify a Payment.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface PaymentKeyReference extends KeyReference { */ String PAYMENT = "payment"; + /** + *

User-defined unique identifier of the referenced Payment.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Payment.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of PaymentKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceBuilder.java index 387e78d55fa..827e063ab6c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class PaymentKeyReferenceBuilder implements Builder private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Payment.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public PaymentKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Payment.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java index 5c77df6bf33..a23a0598822 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a payment by key.

+ *

Used by the Import API to identify a Payment.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PaymentKeyReferenceImpl implements PaymentKeyReference, ModelBase { @@ -43,7 +43,7 @@ public PaymentKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Payment.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReference.java index 27114a711d4..f10640736bc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a price by key.

+ *

Used by the Import API to identify an Embedded Price.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface PriceKeyReference extends KeyReference { */ String PRICE = "price"; + /** + *

User-defined unique identifier of the referenced Embedded Price.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Embedded Price.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of PriceKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceBuilder.java index 88b4b51a8f9..862dfe654bf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class PriceKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Embedded Price.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public PriceKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Embedded Price.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java index 9b077181862..024da56b664 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a price by key.

+ *

Used by the Import API to identify an Embedded Price.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceKeyReferenceImpl implements PriceKeyReference, ModelBase { @@ -43,7 +43,7 @@ public PriceKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Embedded Price.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReference.java index 501cfcf4ea5..85217461d02 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a product discount by key.

+ *

Used by the Import API to identify a ProductDiscount.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ProductDiscountKeyReference extends KeyReference { */ String PRODUCT_DISCOUNT = "product-discount"; + /** + *

User-defined unique identifier of the referenced ProductDiscount.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced ProductDiscount.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ProductDiscountKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceBuilder.java index 67f0bc40565..4ddd2e86a2c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ProductDiscountKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced ProductDiscount.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ProductDiscountKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced ProductDiscount.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java index 4a71c520458..def129a6e53 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a product discount by key.

+ *

Used by the Import API to identify a ProductDiscount.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductDiscountKeyReferenceImpl implements ProductDiscountKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ProductDiscountKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced ProductDiscount.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReference.java index 663d9fd736a..6275e3f7b54 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a product by key.

+ *

Used by the Import API to identify a Product.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ProductKeyReference extends KeyReference { */ String PRODUCT = "product"; + /** + *

User-defined unique identifier of the referenced Product.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Product.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ProductKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceBuilder.java index 2e2154dad8b..b290c3f73e4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ProductKeyReferenceBuilder implements Builder private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Product.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ProductKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Product.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java index 86542a5ab7e..966cdc1a228 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a product by key.

+ *

Used by the Import API to identify a Product.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductKeyReferenceImpl implements ProductKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ProductKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Product.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReference.java index bf775634df6..e2a7c8fd063 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a product type by key.

+ *

Used by the Import API to identify a ProductType.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ProductTypeKeyReference extends KeyReference { */ String PRODUCT_TYPE = "product-type"; + /** + *

User-defined unique identifier of the referenced ProductType.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced ProductType.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ProductTypeKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceBuilder.java index 4753168e384..5e98ef81691 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ProductTypeKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced ProductType.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ProductTypeKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced ProductType.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java index 6f5b222ee29..efc15a3f63e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a product type by key.

+ *

Used by the Import API to identify a ProductType.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductTypeKeyReferenceImpl implements ProductTypeKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ProductTypeKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced ProductType.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReference.java index 61733a9b3fe..ff3f686f211 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a product variant by key.

+ *

Used by the Import API to identify a ProductVariant.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ProductVariantKeyReference extends KeyReference { */ String PRODUCT_VARIANT = "product-variant"; + /** + *

User-defined unique identifier of the referenced ProductVariant.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced ProductVariant.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ProductVariantKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceBuilder.java index 74d897cd0d7..5b9580e3bf4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ProductVariantKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced ProductVariant.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ProductVariantKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced ProductVariant.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java index 961328fdaa1..93ae6e4f079 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a product variant by key.

+ *

Used by the Import API to identify a ProductVariant.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantKeyReferenceImpl implements ProductVariantKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ProductVariantKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced ProductVariant.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ReferenceType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ReferenceType.java index 1fa2797593f..14cae02e400 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ReferenceType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ReferenceType.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ReferenceType extends JsonEnum { @@ -38,6 +38,9 @@ public interface ReferenceType extends JsonEnum {

References a discount code.

*/ ReferenceType DISCOUNT_CODE = ReferenceTypeEnum.DISCOUNT_CODE; /** +

References a custom object

*/ + ReferenceType KEY_VALUE_DOCUMENT = ReferenceTypeEnum.KEY_VALUE_DOCUMENT; + /**

References an order.

*/ ReferenceType ORDER = ReferenceTypeEnum.ORDER; /** @@ -73,9 +76,6 @@ public interface ReferenceType extends JsonEnum { /**

References a type.

*/ ReferenceType TYPE = ReferenceTypeEnum.TYPE; - /** -

References a custom object

*/ - ReferenceType KEY_VALUE_DOCUMENT = ReferenceTypeEnum.KEY_VALUE_DOCUMENT; /** * possible values of ReferenceType @@ -116,6 +116,11 @@ enum ReferenceTypeEnum implements ReferenceType { */ DISCOUNT_CODE("discount-code"), + /** + * key-value-document + */ + KEY_VALUE_DOCUMENT("key-value-document"), + /** * order */ @@ -174,12 +179,7 @@ enum ReferenceTypeEnum implements ReferenceType { /** * type */ - TYPE("type"), - - /** - * key-value-document - */ - KEY_VALUE_DOCUMENT("key-value-document"); + TYPE("type"); private final String jsonName; private ReferenceTypeEnum(final String jsonName) { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReference.java index 49799030a8a..bc69ef92fa3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a shipping method by key.

+ *

Used by the Import API to identify a ShippingMethod.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface ShippingMethodKeyReference extends KeyReference { */ String SHIPPING_METHOD = "shipping-method"; + /** + *

User-defined unique identifier of the referenced ShippingMethod.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced ShippingMethod.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of ShippingMethodKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceBuilder.java index 6b1b2ea9de8..e0c3c53dcb5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class ShippingMethodKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced ShippingMethod.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public ShippingMethodKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced ShippingMethod.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java index 185063da8f4..44ed753bc84 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a shipping method by key.

+ *

Used by the Import API to identify a ShippingMethod.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ShippingMethodKeyReferenceImpl implements ShippingMethodKeyReference, ModelBase { @@ -43,7 +43,7 @@ public ShippingMethodKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced ShippingMethod.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReference.java index 8897e52cac4..020518df3d0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a state by key.

+ *

Used by the Import API to identify a State.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface StateKeyReference extends KeyReference { */ String STATE = "state"; + /** + *

User-defined unique identifier of the referenced State.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced State.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of StateKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceBuilder.java index e85eab59b0c..e36a2a76e1b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class StateKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced State.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public StateKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced State.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java index 0af77656f2d..65b8c85712e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a state by key.

+ *

Used by the Import API to identify a State.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StateKeyReferenceImpl implements StateKeyReference, ModelBase { @@ -43,7 +43,7 @@ public StateKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced State.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReference.java index 0e4a22ea6d8..04d761d13ff 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a store by key.

+ *

Used by the Import API to identify a Store.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface StoreKeyReference extends KeyReference { */ String STORE = "store"; + /** + *

User-defined unique identifier of the referenced Store.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Store.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of StoreKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceBuilder.java index 1163c180261..1984d44a696 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class StoreKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Store.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public StoreKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Store.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java index c6a22e86e4e..ac83bba7d59 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a store by key.

+ *

Used by the Import API to identify a Store.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StoreKeyReferenceImpl implements StoreKeyReference, ModelBase { @@ -43,7 +43,7 @@ public StoreKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Store.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReference.java index dab94e705a3..596ca98fe10 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a tax category by key.

+ *

Used by the Import API to identify a TaxCategory.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface TaxCategoryKeyReference extends KeyReference { */ String TAX_CATEGORY = "tax-category"; + /** + *

User-defined unique identifier of the referenced TaxCategory.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced TaxCategory.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of TaxCategoryKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceBuilder.java index 1d29b77d1ed..147943a2810 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class TaxCategoryKeyReferenceBuilder implements BuilderUser-defined unique identifier of the referenced TaxCategory.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public TaxCategoryKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced TaxCategory.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java index 7d6d13399a0..b5e296f8a24 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a tax category by key.

+ *

Used by the Import API to identify a TaxCategory.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class TaxCategoryKeyReferenceImpl implements TaxCategoryKeyReference, ModelBase { @@ -43,7 +43,7 @@ public TaxCategoryKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced TaxCategory.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReference.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReference.java index de55fa0545d..0903b0b72f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReference.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReference.java @@ -12,8 +12,10 @@ import io.vrap.rmf.base.client.utils.Generated; +import jakarta.validation.constraints.NotNull; + /** - *

References a type by key.

+ *

Used by the Import API to identify a Type.

* *
* Example to create an instance using the builder pattern @@ -35,6 +37,21 @@ public interface TypeKeyReference extends KeyReference { */ String TYPE = "type"; + /** + *

User-defined unique identifier of the referenced Type.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

User-defined unique identifier of the referenced Type.

+ * @param key value to be set + */ + + public void setKey(final String key); + /** * factory method * @return instance of TypeKeyReference diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceBuilder.java index e989d657508..f8c531ff8fc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceBuilder.java @@ -24,7 +24,7 @@ public class TypeKeyReferenceBuilder implements Builder { private String key; /** - * set the value to the key + *

User-defined unique identifier of the referenced Type.

* @param key value to be set * @return Builder */ @@ -35,7 +35,7 @@ public TypeKeyReferenceBuilder key(final String key) { } /** - * value of key} + *

User-defined unique identifier of the referenced Type.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java index 29aecaafb03..0e036d768f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a type by key.

+ *

Used by the Import API to identify a Type.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class TypeKeyReferenceImpl implements TypeKeyReference, ModelBase { @@ -43,7 +43,7 @@ public TypeKeyReferenceImpl() { } /** - * + *

User-defined unique identifier of the referenced Type.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoney.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoney.java index 51cd96f28cf..611e77f57a3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoney.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoney.java @@ -35,7 +35,7 @@ public interface TypedMoney { /** - * + *

The type of money. The centPrecision type is used for currencies with minor units, such as EUR and USD. The highPrecision type is used for currencies without minor units, such as JPY.

* @return type */ @NotNull @@ -43,7 +43,7 @@ public interface TypedMoney { public MoneyType getType(); /** - * + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @return fractionDigits */ @@ -51,7 +51,11 @@ public interface TypedMoney { public Integer getFractionDigits(); /** - * + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @return centAmount */ @NotNull @@ -67,14 +71,18 @@ public interface TypedMoney { public String getCurrencyCode(); /** - * set fractionDigits + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

* @param fractionDigits value to be set */ public void setFractionDigits(final Integer fractionDigits); /** - * set centAmount + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
* @param centAmount value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java index 219e1921d32..74d8f8bd3d9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/TypedMoneyImpl.java @@ -51,7 +51,7 @@ public TypedMoneyImpl() { } /** - * + *

The type of money. The centPrecision type is used for currencies with minor units, such as EUR and USD. The highPrecision type is used for currencies without minor units, such as JPY.

*/ public com.commercetools.importapi.models.common.MoneyType getType() { @@ -59,7 +59,7 @@ public com.commercetools.importapi.models.common.MoneyType getType() { } /** - * + *

The number of fraction digits of the money value. This is used to determine how many digits are after the decimal point. For example, for EUR and USD, this is 2, and for JPY, this is 0.

*/ public Integer getFractionDigits() { @@ -67,7 +67,11 @@ public Integer getFractionDigits() { } /** - * + *

Amount in the smallest indivisible unit of a currency, such as:

+ *
    + *
  • Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as 500).
  • + *
  • The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as 5).
  • + *
*/ public Long getCentAmount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferences.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferences.java index 45b04d56092..81cc54dea9b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferences.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferences.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - *

References a resource which could not be resolved.

+ *

Contains a reference to a resource which does not exist. For example, if a Category is imported with a parent Category that does not exist, the reference to the parent Category is an unresolved reference.

* *
* Example to create an instance using the builder pattern @@ -33,7 +33,7 @@ public interface UnresolvedReferences { /** - *

The key of the resource.

+ *

key of the unresolved resource.

* @return key */ @NotNull @@ -41,7 +41,7 @@ public interface UnresolvedReferences { public String getKey(); /** - *

The type of resource.

+ *

Type of the unresolved resource.

* @return typeId */ @NotNull @@ -49,14 +49,14 @@ public interface UnresolvedReferences { public ReferenceType getTypeId(); /** - *

The key of the resource.

+ *

key of the unresolved resource.

* @param key value to be set */ public void setKey(final String key); /** - *

The type of resource.

+ *

Type of the unresolved resource.

* @param typeId value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesBuilder.java index e2a601e827c..2dfd57beecf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesBuilder.java @@ -27,7 +27,7 @@ public class UnresolvedReferencesBuilder implements BuilderThe key of the resource.

+ *

key of the unresolved resource.

* @param key value to be set * @return Builder */ @@ -38,7 +38,7 @@ public UnresolvedReferencesBuilder key(final String key) { } /** - *

The type of resource.

+ *

Type of the unresolved resource.

* @param typeId value to be set * @return Builder */ @@ -49,7 +49,7 @@ public UnresolvedReferencesBuilder typeId(final com.commercetools.importapi.mode } /** - *

The key of the resource.

+ *

key of the unresolved resource.

* @return key */ @@ -58,7 +58,7 @@ public String getKey() { } /** - *

The type of resource.

+ *

Type of the unresolved resource.

* @return typeId */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java index a3240ee67d1..b735acabd2b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/common/UnresolvedReferencesImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

References a resource which could not be resolved.

+ *

Contains a reference to a resource which does not exist. For example, if a Category is imported with a parent Category that does not exist, the reference to the parent Category is an unresolved reference.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class UnresolvedReferencesImpl implements UnresolvedReferences, ModelBase { @@ -43,7 +43,7 @@ public UnresolvedReferencesImpl() { } /** - *

The key of the resource.

+ *

key of the unresolved resource.

*/ public String getKey() { @@ -51,7 +51,7 @@ public String getKey() { } /** - *

The type of resource.

+ *

Type of the unresolved resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java index 98889ba0898..70c90c85874 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddress.java @@ -35,7 +35,7 @@ public interface CustomerAddress { /** - *

User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

+ *

User-defined identifier for the address. Must be unique per customer.

* @return key */ @NotNull @@ -235,7 +235,7 @@ public interface CustomerAddress { public Custom getCustom(); /** - *

User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

+ *

User-defined identifier for the address. Must be unique per customer.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java index 3b3d4f99efa..105b834c5e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressBuilder.java @@ -99,7 +99,7 @@ public class CustomerAddressBuilder implements Builder { private com.commercetools.importapi.models.customfields.Custom custom; /** - *

User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

+ *

User-defined identifier for the address. Must be unique per customer.

* @param key value to be set * @return Builder */ @@ -399,7 +399,7 @@ public CustomerAddressBuilder custom( } /** - *

User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

+ *

User-defined identifier for the address. Must be unique per customer.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java index 348ab264d1b..bc22328eb35 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerAddressImpl.java @@ -126,7 +126,7 @@ public CustomerAddressImpl() { } /** - *

User-defined identifier for the address. Must follow the pattern [a-zA-Z0-9_\-]{2,256} and must be unique per customer.

+ *

User-defined identifier for the address. Must be unique per customer.

*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImport.java index c02df51684f..8da3ca4bea6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImport.java @@ -22,7 +22,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a Customer to be imported that is persisted as a Customer in the Project.

+ *

Represents the data used to import a Customer. Once imported, this data is persisted as a Customer in the Project.

* *
* Example to create an instance using the builder pattern @@ -40,7 +40,7 @@ public interface CustomerImport extends ImportResource { /** - *

User-defined unique identifier. If a Customer with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Customer with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -64,7 +64,7 @@ public interface CustomerImport extends ImportResource { public String getEmail(); /** - *

Required when authenticationMode is set to Password. Maps to Customer.password.

+ *

Maps to Customer.password. Required when authenticationMode is set to Password.

* @return password */ @@ -72,7 +72,7 @@ public interface CustomerImport extends ImportResource { public String getPassword(); /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @return stores */ @Valid @@ -160,7 +160,7 @@ public interface CustomerImport extends ImportResource { public Boolean getIsEmailVerified(); /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @Valid @@ -176,7 +176,7 @@ public interface CustomerImport extends ImportResource { public List getAddresses(); /** - *

The index of the address in the addresses array. The defaultBillingAddressId of the customer will be set to the ID of that address.

+ *

Index of the address in the addresses array to use as the default billing address. The defaultBillingAddressId of the Customer will be set to the id of that address.

* @return defaultBillingAddress */ @@ -184,7 +184,7 @@ public interface CustomerImport extends ImportResource { public Integer getDefaultBillingAddress(); /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @return billingAddresses */ @@ -192,7 +192,7 @@ public interface CustomerImport extends ImportResource { public List getBillingAddresses(); /** - *

The index of the address in the addresses array. The defaultShippingAddressId of the customer will be set to the ID of that address.

+ *

The index of the address in the addresses array. The defaultShippingAddressId of the Customer will be set to the id of that address.

* @return defaultShippingAddress */ @@ -200,7 +200,7 @@ public interface CustomerImport extends ImportResource { public Integer getDefaultShippingAddress(); /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @return shippingAddresses */ @@ -216,7 +216,7 @@ public interface CustomerImport extends ImportResource { public String getLocale(); /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @return custom */ @Valid @@ -235,7 +235,7 @@ public interface CustomerImport extends ImportResource { public AuthenticationMode getAuthenticationMode(); /** - *

User-defined unique identifier. If a Customer with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Customer with this key exists, it is updated with the imported data.

* @param key value to be set */ @@ -256,14 +256,14 @@ public interface CustomerImport extends ImportResource { public void setEmail(final String email); /** - *

Required when authenticationMode is set to Password. Maps to Customer.password.

+ *

Maps to Customer.password. Required when authenticationMode is set to Password.

* @param password value to be set */ public void setPassword(final String password); /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param stores values to be set */ @@ -271,7 +271,7 @@ public interface CustomerImport extends ImportResource { public void setStores(final StoreKeyReference... stores); /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param stores values to be set */ @@ -348,7 +348,7 @@ public interface CustomerImport extends ImportResource { public void setIsEmailVerified(final Boolean isEmailVerified); /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set */ @@ -370,14 +370,14 @@ public interface CustomerImport extends ImportResource { public void setAddresses(final List addresses); /** - *

The index of the address in the addresses array. The defaultBillingAddressId of the customer will be set to the ID of that address.

+ *

Index of the address in the addresses array to use as the default billing address. The defaultBillingAddressId of the Customer will be set to the id of that address.

* @param defaultBillingAddress value to be set */ public void setDefaultBillingAddress(final Integer defaultBillingAddress); /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @param billingAddresses values to be set */ @@ -385,21 +385,21 @@ public interface CustomerImport extends ImportResource { public void setBillingAddresses(final Integer... billingAddresses); /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @param billingAddresses values to be set */ public void setBillingAddresses(final List billingAddresses); /** - *

The index of the address in the addresses array. The defaultShippingAddressId of the customer will be set to the ID of that address.

+ *

The index of the address in the addresses array. The defaultShippingAddressId of the Customer will be set to the id of that address.

* @param defaultShippingAddress value to be set */ public void setDefaultShippingAddress(final Integer defaultShippingAddress); /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @param shippingAddresses values to be set */ @@ -407,7 +407,7 @@ public interface CustomerImport extends ImportResource { public void setShippingAddresses(final Integer... shippingAddresses); /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @param shippingAddresses values to be set */ @@ -421,7 +421,7 @@ public interface CustomerImport extends ImportResource { public void setLocale(final String locale); /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportBuilder.java index 9630cf998df..5ad5c066205 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportBuilder.java @@ -96,7 +96,7 @@ public class CustomerImportBuilder implements Builder { private com.commercetools.importapi.models.customers.AuthenticationMode authenticationMode; /** - *

User-defined unique identifier. If a Customer with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Customer with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -129,7 +129,7 @@ public CustomerImportBuilder email(final String email) { } /** - *

Required when authenticationMode is set to Password. Maps to Customer.password.

+ *

Maps to Customer.password. Required when authenticationMode is set to Password.

* @param password value to be set * @return Builder */ @@ -140,7 +140,7 @@ public CustomerImportBuilder password(@Nullable final String password) { } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param stores value to be set * @return Builder */ @@ -152,7 +152,7 @@ public CustomerImportBuilder stores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param stores value to be set * @return Builder */ @@ -164,7 +164,7 @@ public CustomerImportBuilder stores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param stores value to be set * @return Builder */ @@ -179,7 +179,7 @@ public CustomerImportBuilder plusStores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param builder function to build the stores value * @return Builder */ @@ -194,7 +194,7 @@ public CustomerImportBuilder plusStores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param builder function to build the stores value * @return Builder */ @@ -207,7 +207,7 @@ public CustomerImportBuilder withStores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param builder function to build the stores value * @return Builder */ @@ -218,7 +218,7 @@ public CustomerImportBuilder addStores( } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @param builder function to build the stores value * @return Builder */ @@ -339,7 +339,7 @@ public CustomerImportBuilder isEmailVerified(@Nullable final Boolean isEmailVeri } /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -353,7 +353,7 @@ public CustomerImportBuilder customerGroup( } /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -366,7 +366,7 @@ public CustomerImportBuilder withCustomerGroup( } /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set * @return Builder */ @@ -469,7 +469,7 @@ public CustomerImportBuilder setAddresses( } /** - *

The index of the address in the addresses array. The defaultBillingAddressId of the customer will be set to the ID of that address.

+ *

Index of the address in the addresses array to use as the default billing address. The defaultBillingAddressId of the Customer will be set to the id of that address.

* @param defaultBillingAddress value to be set * @return Builder */ @@ -480,7 +480,7 @@ public CustomerImportBuilder defaultBillingAddress(@Nullable final Integer defau } /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @param billingAddresses value to be set * @return Builder */ @@ -491,7 +491,7 @@ public CustomerImportBuilder billingAddresses(@Nullable final Integer... billing } /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @param billingAddresses value to be set * @return Builder */ @@ -502,7 +502,7 @@ public CustomerImportBuilder billingAddresses(@Nullable final java.util.ListThe indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @param billingAddresses value to be set * @return Builder */ @@ -516,7 +516,7 @@ public CustomerImportBuilder plusBillingAddresses(@Nullable final Integer... bil } /** - *

The index of the address in the addresses array. The defaultShippingAddressId of the customer will be set to the ID of that address.

+ *

The index of the address in the addresses array. The defaultShippingAddressId of the Customer will be set to the id of that address.

* @param defaultShippingAddress value to be set * @return Builder */ @@ -527,7 +527,7 @@ public CustomerImportBuilder defaultShippingAddress(@Nullable final Integer defa } /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @param shippingAddresses value to be set * @return Builder */ @@ -538,7 +538,7 @@ public CustomerImportBuilder shippingAddresses(@Nullable final Integer... shippi } /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @param shippingAddresses value to be set * @return Builder */ @@ -549,7 +549,7 @@ public CustomerImportBuilder shippingAddresses(@Nullable final java.util.ListThe indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @param shippingAddresses value to be set * @return Builder */ @@ -574,7 +574,7 @@ public CustomerImportBuilder locale(@Nullable final String locale) { } /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @param builder function to build the custom value * @return Builder */ @@ -586,7 +586,7 @@ public CustomerImportBuilder custom( } /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @param builder function to build the custom value * @return Builder */ @@ -598,7 +598,7 @@ public CustomerImportBuilder withCustom( } /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @param custom value to be set * @return Builder */ @@ -624,7 +624,7 @@ public CustomerImportBuilder authenticationMode( } /** - *

User-defined unique identifier. If a Customer with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Customer with this key exists, it is updated with the imported data.

* @return key */ @@ -652,7 +652,7 @@ public String getEmail() { } /** - *

Required when authenticationMode is set to Password. Maps to Customer.password.

+ *

Maps to Customer.password. Required when authenticationMode is set to Password.

* @return password */ @@ -662,7 +662,7 @@ public String getPassword() { } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

* @return stores */ @@ -772,7 +772,7 @@ public Boolean getIsEmailVerified() { } /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @@ -792,7 +792,7 @@ public java.util.ListThe index of the address in the addresses array. The defaultBillingAddressId of the customer will be set to the ID of that address.

+ *

Index of the address in the addresses array to use as the default billing address. The defaultBillingAddressId of the Customer will be set to the id of that address.

* @return defaultBillingAddress */ @@ -802,7 +802,7 @@ public Integer getDefaultBillingAddress() { } /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

* @return billingAddresses */ @@ -812,7 +812,7 @@ public java.util.List getBillingAddresses() { } /** - *

The index of the address in the addresses array. The defaultShippingAddressId of the customer will be set to the ID of that address.

+ *

The index of the address in the addresses array. The defaultShippingAddressId of the Customer will be set to the id of that address.

* @return defaultShippingAddress */ @@ -822,7 +822,7 @@ public Integer getDefaultShippingAddress() { } /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

* @return shippingAddresses */ @@ -842,7 +842,7 @@ public String getLocale() { } /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java index 13db46c69a7..2843f0d0112 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customers/CustomerImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a Customer to be imported that is persisted as a Customer in the Project.

+ *

Represents the data used to import a Customer. Once imported, this data is persisted as a Customer in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerImportImpl implements CustomerImport, ModelBase { @@ -126,7 +126,7 @@ public CustomerImportImpl() { } /** - *

User-defined unique identifier. If a Customer with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Customer with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -150,7 +150,7 @@ public String getEmail() { } /** - *

Required when authenticationMode is set to Password. Maps to Customer.password.

+ *

Maps to Customer.password. Required when authenticationMode is set to Password.

*/ public String getPassword() { @@ -158,7 +158,7 @@ public String getPassword() { } /** - *

The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the necessary Stores are created.

+ *

Maps to Customer.stores. If the referenced Stores do not exist, the state of the ImportOperation will be set to unresolved until the referenced Stores are created.

*/ public java.util.List getStores() { @@ -246,7 +246,7 @@ public Boolean getIsEmailVerified() { } /** - *

The Reference to the CustomerGroup with which the Customer is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Customer.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -262,7 +262,7 @@ public java.util.ListThe index of the address in the addresses array. The defaultBillingAddressId of the customer will be set to the ID of that address.

+ *

Index of the address in the addresses array to use as the default billing address. The defaultBillingAddressId of the Customer will be set to the id of that address.

*/ public Integer getDefaultBillingAddress() { @@ -270,7 +270,7 @@ public Integer getDefaultBillingAddress() { } /** - *

The indices of the billing addresses in the addresses array. The billingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the billing addresses in the addresses array. The billingAddressIds of the Customer will be set to the id of these addresses.

*/ public java.util.List getBillingAddresses() { @@ -278,7 +278,7 @@ public java.util.List getBillingAddresses() { } /** - *

The index of the address in the addresses array. The defaultShippingAddressId of the customer will be set to the ID of that address.

+ *

The index of the address in the addresses array. The defaultShippingAddressId of the Customer will be set to the id of that address.

*/ public Integer getDefaultShippingAddress() { @@ -286,7 +286,7 @@ public Integer getDefaultShippingAddress() { } /** - *

The indices of the shipping addresses in the addresses array. The shippingAddressIds of the customer will be set to the IDs of that addresses.

+ *

Indices of the shipping addresses in the addresses array. The shippingAddressIds of the Customer will be set to the id of these addresses.

*/ public java.util.List getShippingAddresses() { @@ -302,7 +302,7 @@ public String getLocale() { } /** - *

The Custom Fields for this Customer.

+ *

Maps to Customer.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanField.java index f1d98dbb6b4..fbdbc3c2283 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanField.java @@ -38,7 +38,7 @@ public interface BooleanField extends CustomField { String BOOLEAN = "Boolean"; /** - * + *

true or false

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface BooleanField extends CustomField { public Boolean getValue(); /** - * set value + *

true or false

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldBuilder.java index f378f32d654..8e2b05d3fc7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldBuilder.java @@ -24,7 +24,7 @@ public class BooleanFieldBuilder implements Builder { private Boolean value; /** - * set the value to the value + *

true or false

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public BooleanFieldBuilder value(final Boolean value) { } /** - * value of value} + *

true or false

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java index 4bb2787572c..f7ab47c43b2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

true or false

*/ public Boolean getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetField.java index fef5aca324e..accf76017e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetField.java @@ -38,7 +38,7 @@ public interface BooleanSetField extends CustomField { String BOOLEAN_SET = "BooleanSet"; /** - * + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface BooleanSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface BooleanSetField extends CustomField { public void setValue(final Boolean... value); /** - * set value + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldBuilder.java index 6dde9b4c754..b07825d07b3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldBuilder.java @@ -24,7 +24,7 @@ public class BooleanSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public BooleanSetFieldBuilder value(final Boolean... value) { } /** - * set value to the value + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public BooleanSetFieldBuilder value(final java.util.List value) { } /** - * add values to the value + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public BooleanSetFieldBuilder plusValue(final Boolean... value) { } /** - * value of value} + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java index 692e73f74bb..1ca0c3a18ef 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/BooleanSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of boolean values without duplicates. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/Custom.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/Custom.java index 41255262e75..203d49136f0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/Custom.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/Custom.java @@ -34,7 +34,7 @@ public interface Custom { /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @return type */ @NotNull @@ -51,7 +51,7 @@ public interface Custom { public FieldContainer getFields(); /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @param type value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomBuilder.java index 8277b369371..da6ed598d06 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomBuilder.java @@ -30,7 +30,7 @@ public class CustomBuilder implements Builder { private com.commercetools.importapi.models.customfields.FieldContainer fields; /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @param builder function to build the type value * @return Builder */ @@ -42,7 +42,7 @@ public CustomBuilder type( } /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @param builder function to build the type value * @return Builder */ @@ -54,7 +54,7 @@ public CustomBuilder withType( } /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @param type value to be set * @return Builder */ @@ -100,7 +100,7 @@ public CustomBuilder fields(@Nullable final com.commercetools.importapi.models.c } /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

* @return type */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java index 909b1aa5c9f..2bb62c0a37b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/CustomImpl.java @@ -43,7 +43,7 @@ public CustomImpl() { } /** - *

The type that provides the field definitions for this object.

+ *

The Type that provides the field definitions for this object. If the referenced Type does not exist, the state of the ImportOperation will be set to unresolved until the referenced Type is created.

*/ public com.commercetools.importapi.models.common.TypeKeyReference getType() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateField.java index 7e944d48a21..5f163cd41d4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateField.java @@ -39,7 +39,7 @@ public interface DateField extends CustomField { String DATE = "Date"; /** - * + *

A date in the format YYYY-MM-DD.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateField extends CustomField { public LocalDate getValue(); /** - * set value + *

A date in the format YYYY-MM-DD.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldBuilder.java index 700e276ed18..e0b88a8e940 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldBuilder.java @@ -24,7 +24,7 @@ public class DateFieldBuilder implements Builder { private java.time.LocalDate value; /** - * set the value to the value + *

A date in the format YYYY-MM-DD.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public DateFieldBuilder value(final java.time.LocalDate value) { } /** - * value of value} + *

A date in the format YYYY-MM-DD.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java index 8ca9992ba1e..a63955ddcbb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A date in the format YYYY-MM-DD.

*/ public java.time.LocalDate getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetField.java index e6fb05c7c0c..8082c55bd1e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetField.java @@ -39,7 +39,7 @@ public interface DateSetField extends CustomField { String DATE_SET = "DateSet"; /** - * + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @param value values to be set */ @@ -55,7 +55,7 @@ public interface DateSetField extends CustomField { public void setValue(final LocalDate... value); /** - * set value + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldBuilder.java index 8990c979c35..e2e87588464 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldBuilder.java @@ -24,7 +24,7 @@ public class DateSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public DateSetFieldBuilder value(final java.time.LocalDate... value) { } /** - * set value to the value + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public DateSetFieldBuilder value(final java.util.List value } /** - * add values to the value + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public DateSetFieldBuilder plusValue(final java.time.LocalDate... value) { } /** - * value of value} + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java index 677d79f6dfa..7b490b157c8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of date values in the format YYYY-MM-DD without duplicates. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeField.java index 335c7db81ff..d6777ae7d8e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeField.java @@ -39,7 +39,7 @@ public interface DateTimeField extends CustomField { String DATE_TIME = "DateTime"; /** - * + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateTimeField extends CustomField { public ZonedDateTime getValue(); /** - * set value + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldBuilder.java index de91568b867..43ed92a6701 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldBuilder.java @@ -24,7 +24,7 @@ public class DateTimeFieldBuilder implements Builder { private java.time.ZonedDateTime value; /** - * set the value to the value + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public DateTimeFieldBuilder value(final java.time.ZonedDateTime value) { } /** - * value of value} + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java index 0af75e1bfd9..1901a8ba06b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

*/ public java.time.ZonedDateTime getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetField.java index 39ab0920d4c..82edbd4be22 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetField.java @@ -39,7 +39,7 @@ public interface DateTimeSetField extends CustomField { String DATE_TIME_SET = "DateTimeSet"; /** - * + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateTimeSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value values to be set */ @@ -55,7 +55,7 @@ public interface DateTimeSetField extends CustomField { public void setValue(final ZonedDateTime... value); /** - * set value + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldBuilder.java index 1b6aff566f7..0026dcf5a3a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldBuilder.java @@ -24,7 +24,7 @@ public class DateTimeSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public DateTimeSetFieldBuilder value(final java.time.ZonedDateTime... value) { } /** - * set value to the value + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public DateTimeSetFieldBuilder value(final java.util.ListJSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public DateTimeSetFieldBuilder plusValue(final java.time.ZonedDateTime... value) } /** - * value of value} + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java index 25a51484f13..8ec53d05218 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/DateTimeSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of date time values in the format YYYY-MM-DDTHH:mm:ss.SSSZ without duplicates. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumField.java index b12f46f6032..42c4be75f3e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumField.java @@ -38,7 +38,7 @@ public interface EnumField extends CustomField { String ENUM = "Enum"; /** - * + *

The key of the enum value. Must be a key of one of the CustomFieldEnumValues defined in the CustomFieldEnumType.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface EnumField extends CustomField { public String getValue(); /** - * set value + *

The key of the enum value. Must be a key of one of the CustomFieldEnumValues defined in the CustomFieldEnumType.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldBuilder.java index ae44f9e172d..bffd7192c19 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldBuilder.java @@ -24,7 +24,7 @@ public class EnumFieldBuilder implements Builder { private String value; /** - * set the value to the value + *

The key of the enum value. Must be a key of one of the CustomFieldEnumValues defined in the CustomFieldEnumType.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public EnumFieldBuilder value(final String value) { } /** - * value of value} + *

The key of the enum value. Must be a key of one of the CustomFieldEnumValues defined in the CustomFieldEnumType.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java index 563a3206fa9..0c7bb585896 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

The key of the enum value. Must be a key of one of the CustomFieldEnumValues defined in the CustomFieldEnumType.

*/ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetField.java index a86c3aa2368..fe392251222 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetField.java @@ -38,7 +38,7 @@ public interface EnumSetField extends CustomField { String ENUM_SET = "EnumSet"; /** - * + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface EnumSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface EnumSetField extends CustomField { public void setValue(final String... value); /** - * set value + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldBuilder.java index f80b399bfaa..bf3140db39d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldBuilder.java @@ -24,7 +24,7 @@ public class EnumSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public EnumSetFieldBuilder value(final String... value) { } /** - * set value to the value + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public EnumSetFieldBuilder value(final java.util.List value) { } /** - * add values to the value + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public EnumSetFieldBuilder plusValue(final String... value) { } /** - * value of value} + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java index 434c8a042ae..7656ef433f0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/EnumSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of enum values, each represented by its key. Each key must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldEnumType. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumField.java index 97c6c5e6508..5fcafb60023 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumField.java @@ -38,7 +38,7 @@ public interface LocalizedEnumField extends CustomField { String LOCALIZED_ENUM = "LocalizedEnum"; /** - * + *

The key of the localized enum value. Must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface LocalizedEnumField extends CustomField { public String getValue(); /** - * set value + *

The key of the localized enum value. Must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldBuilder.java index 2dda7122e4d..aa665fd0dcb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldBuilder.java @@ -24,7 +24,7 @@ public class LocalizedEnumFieldBuilder implements Builder { private String value; /** - * set the value to the value + *

The key of the localized enum value. Must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public LocalizedEnumFieldBuilder value(final String value) { } /** - * value of value} + *

The key of the localized enum value. Must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java index 4fe63b99e1b..d9c72250de8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

The key of the localized enum value. Must match the key of a CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType.

*/ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetField.java index 637c5a80b79..ca73c53f582 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetField.java @@ -38,7 +38,7 @@ public interface LocalizedEnumSetField extends CustomField { String LOCALIZED_ENUM_SET = "LocalizedEnumSet"; /** - * + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface LocalizedEnumSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface LocalizedEnumSetField extends CustomField { public void setValue(final String... value); /** - * set value + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldBuilder.java index b50b844ccfe..d5b4f71fd11 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldBuilder.java @@ -24,7 +24,7 @@ public class LocalizedEnumSetFieldBuilder implements Builder value; /** - * set values to the value + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public LocalizedEnumSetFieldBuilder value(final String... value) { } /** - * set value to the value + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public LocalizedEnumSetFieldBuilder value(final java.util.List value) { } /** - * add values to the value + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public LocalizedEnumSetFieldBuilder plusValue(final String... value) { } /** - * value of value} + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java index 00a0cb51775..b6453aa4df9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedEnumSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of localized enum values, each represented by its key. Each key must match the key of an CustomFieldLocalizedEnumValue in the CustomFieldLocalizedEnumType. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringField.java index 46edaf12571..9260bc42ae7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringField.java @@ -40,12 +40,7 @@ public interface LocalizedStringField extends CustomField { String LOCALIZED_STRING = "LocalizedString"; /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @return value */ @NotNull @@ -54,12 +49,7 @@ public interface LocalizedStringField extends CustomField { public LocalizedString getValue(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldBuilder.java index 9e67f47b248..a27905fb2d7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldBuilder.java @@ -25,12 +25,7 @@ public class LocalizedStringFieldBuilder implements BuilderA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param builder function to build the value value * @return Builder */ @@ -42,12 +37,7 @@ public LocalizedStringFieldBuilder value( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param builder function to build the value value * @return Builder */ @@ -59,12 +49,7 @@ public LocalizedStringFieldBuilder withValue( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param value value to be set * @return Builder */ @@ -75,12 +60,7 @@ public LocalizedStringFieldBuilder value(final com.commercetools.importapi.model } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java index ac77844f7dd..5d40bacbc13 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringFieldImpl.java @@ -52,12 +52,7 @@ public String getType() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

*/ public com.commercetools.importapi.models.common.LocalizedString getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetField.java index 9be230fdbb3..60d9e675da0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetField.java @@ -41,7 +41,7 @@ public interface LocalizedStringSetField extends CustomField { String LOCALIZED_STRING_SET = "LocalizedStringSet"; /** - * + *

JSON array of localized strings. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -50,7 +50,7 @@ public interface LocalizedStringSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param value values to be set */ @@ -58,7 +58,7 @@ public interface LocalizedStringSetField extends CustomField { public void setValue(final LocalizedString... value); /** - * set value + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldBuilder.java index 6d25c4a9419..cb56769ea0e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldBuilder.java @@ -25,7 +25,7 @@ public class LocalizedStringSetFieldBuilder implements Builder value; /** - * set values to the value + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -37,7 +37,7 @@ public LocalizedStringSetFieldBuilder value( } /** - * set value to the value + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -49,7 +49,7 @@ public LocalizedStringSetFieldBuilder value( } /** - * add values to the value + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -64,7 +64,7 @@ public LocalizedStringSetFieldBuilder plusValue( } /** - * add the value to the value using the builder function + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -79,7 +79,7 @@ public LocalizedStringSetFieldBuilder plusValue( } /** - * set the value to the value using the builder function + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -92,7 +92,7 @@ public LocalizedStringSetFieldBuilder withValue( } /** - * add the value to the value using the builder function + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -103,7 +103,7 @@ public LocalizedStringSetFieldBuilder addValue( } /** - * set the value to the value using the builder function + *

JSON array of localized strings. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -114,7 +114,7 @@ public LocalizedStringSetFieldBuilder setValue( } /** - * value of value} + *

JSON array of localized strings. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java index 47b92f738e9..0c82fb1012b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/LocalizedStringSetFieldImpl.java @@ -52,7 +52,7 @@ public String getType() { } /** - * + *

JSON array of localized strings. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyField.java index 6773fb59f05..7a442fb74c0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyField.java @@ -40,7 +40,7 @@ public interface MoneyField extends CustomField { String MONEY = "Money"; /** - * + *

A money value in cent precision format.

* @return value */ @NotNull @@ -49,7 +49,7 @@ public interface MoneyField extends CustomField { public TypedMoney getValue(); /** - * set value + *

A money value in cent precision format.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldBuilder.java index 069d11842da..ad917419bdf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldBuilder.java @@ -25,7 +25,7 @@ public class MoneyFieldBuilder implements Builder { private com.commercetools.importapi.models.common.TypedMoney value; /** - * set the value to the value + *

A money value in cent precision format.

* @param value value to be set * @return Builder */ @@ -36,7 +36,7 @@ public MoneyFieldBuilder value(final com.commercetools.importapi.models.common.T } /** - * set the value to the value using the builder function + *

A money value in cent precision format.

* @param builder function to build the value value * @return Builder */ @@ -48,7 +48,7 @@ public MoneyFieldBuilder value( } /** - * value of value} + *

A money value in cent precision format.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java index 342a9c34596..c4a590231ec 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneyFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A money value in cent precision format.

*/ public com.commercetools.importapi.models.common.TypedMoney getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetField.java index ce89f2e2529..ddcc7a9b656 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetField.java @@ -8,7 +8,7 @@ import javax.annotation.Nullable; -import com.commercetools.importapi.models.common.Money; +import com.commercetools.importapi.models.common.TypedMoney; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; @@ -41,28 +41,28 @@ public interface MoneySetField extends CustomField { String MONEY_SET = "MoneySet"; /** - * + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @return value */ @NotNull @Valid @JsonProperty("value") - public List getValue(); + public List getValue(); /** - * set value + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param value values to be set */ @JsonIgnore - public void setValue(final Money... value); + public void setValue(final TypedMoney... value); /** - * set value + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param value values to be set */ - public void setValue(final List value); + public void setValue(final List value); /** * factory method @@ -98,7 +98,7 @@ public static MoneySetField deepCopy(@Nullable final MoneySetField template) { MoneySetFieldImpl instance = new MoneySetFieldImpl(); instance.setValue(Optional.ofNullable(template.getValue()) .map(t -> t.stream() - .map(com.commercetools.importapi.models.common.Money::deepCopy) + .map(com.commercetools.importapi.models.common.TypedMoney::deepCopy) .collect(Collectors.toList())) .orElse(null)); return instance; diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldBuilder.java index 3d85f248135..ac1f7287d20 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldBuilder.java @@ -22,37 +22,38 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class MoneySetFieldBuilder implements Builder { - private java.util.List value; + private java.util.List value; /** - * set values to the value + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ - public MoneySetFieldBuilder value(final com.commercetools.importapi.models.common.Money... value) { + public MoneySetFieldBuilder value(final com.commercetools.importapi.models.common.TypedMoney... value) { this.value = new ArrayList<>(Arrays.asList(value)); return this; } /** - * set value to the value + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ - public MoneySetFieldBuilder value(final java.util.List value) { + public MoneySetFieldBuilder value( + final java.util.List value) { this.value = value; return this; } /** - * add values to the value + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ - public MoneySetFieldBuilder plusValue(final com.commercetools.importapi.models.common.Money... value) { + public MoneySetFieldBuilder plusValue(final com.commercetools.importapi.models.common.TypedMoney... value) { if (this.value == null) { this.value = new ArrayList<>(); } @@ -61,61 +62,39 @@ public MoneySetFieldBuilder plusValue(final com.commercetools.importapi.models.c } /** - * add the value to the value using the builder function + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ public MoneySetFieldBuilder plusValue( - Function builder) { + Function> builder) { if (this.value == null) { this.value = new ArrayList<>(); } - this.value.add(builder.apply(com.commercetools.importapi.models.common.MoneyBuilder.of()).build()); + this.value.add(builder.apply(com.commercetools.importapi.models.common.TypedMoneyBuilder.of()).build()); return this; } /** - * set the value to the value using the builder function + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ public MoneySetFieldBuilder withValue( - Function builder) { + Function> builder) { this.value = new ArrayList<>(); - this.value.add(builder.apply(com.commercetools.importapi.models.common.MoneyBuilder.of()).build()); + this.value.add(builder.apply(com.commercetools.importapi.models.common.TypedMoneyBuilder.of()).build()); return this; } /** - * add the value to the value using the builder function - * @param builder function to build the value value - * @return Builder - */ - - public MoneySetFieldBuilder addValue( - Function builder) { - return plusValue(builder.apply(com.commercetools.importapi.models.common.MoneyBuilder.of())); - } - - /** - * set the value to the value using the builder function - * @param builder function to build the value value - * @return Builder - */ - - public MoneySetFieldBuilder setValue( - Function builder) { - return value(builder.apply(com.commercetools.importapi.models.common.MoneyBuilder.of())); - } - - /** - * value of value} + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

* @return value */ - public java.util.List getValue() { + public java.util.List getValue() { return this.value; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java index 88f665c3a71..e0570cfbd12 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldImpl.java @@ -24,14 +24,14 @@ public class MoneySetFieldImpl implements MoneySetField, ModelBase { private String type; - private java.util.List value; + private java.util.List value; /** * create instance with all properties */ @JsonCreator MoneySetFieldImpl( - @JsonProperty("value") final java.util.List value) { + @JsonProperty("value") final java.util.List value) { this.value = value; this.type = MONEY_SET; } @@ -52,18 +52,18 @@ public String getType() { } /** - * + *

JSON array of money values in cent precision format. The order of items in the array is not fixed.

*/ - public java.util.List getValue() { + public java.util.List getValue() { return this.value; } - public void setValue(final com.commercetools.importapi.models.common.Money... value) { + public void setValue(final com.commercetools.importapi.models.common.TypedMoney... value) { this.value = new ArrayList<>(Arrays.asList(value)); } - public void setValue(final java.util.List value) { + public void setValue(final java.util.List value) { this.value = value; } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberField.java index 063e060c4b9..4ec2394fb7d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberField.java @@ -38,7 +38,7 @@ public interface NumberField extends CustomField { String NUMBER = "Number"; /** - * + *

A number value. Can be an integer or a floating-point number.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface NumberField extends CustomField { public Double getValue(); /** - * set value + *

A number value. Can be an integer or a floating-point number.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldBuilder.java index 5e8acde3095..35347674f09 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldBuilder.java @@ -24,7 +24,7 @@ public class NumberFieldBuilder implements Builder { private Double value; /** - * set the value to the value + *

A number value. Can be an integer or a floating-point number.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public NumberFieldBuilder value(final Double value) { } /** - * value of value} + *

A number value. Can be an integer or a floating-point number.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java index d5763459cd3..41d5c16b062 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A number value. Can be an integer or a floating-point number.

*/ public Double getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetField.java index 73600843f2f..18e6828412b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetField.java @@ -38,7 +38,7 @@ public interface NumberSetField extends CustomField { String NUMBER_SET = "NumberSet"; /** - * + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface NumberSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface NumberSetField extends CustomField { public void setValue(final Double... value); /** - * set value + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldBuilder.java index a576d96017f..feb5eb44086 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldBuilder.java @@ -24,7 +24,7 @@ public class NumberSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public NumberSetFieldBuilder value(final Double... value) { } /** - * set value to the value + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public NumberSetFieldBuilder value(final java.util.List value) { } /** - * add values to the value + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public NumberSetFieldBuilder plusValue(final Double... value) { } /** - * value of value} + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java index d430c1f5e9c..292b118c836 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/NumberSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of integer or floating-point number values. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetField.java index 191275f3344..14d06cd8df7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetField.java @@ -41,7 +41,7 @@ public interface ReferenceSetField extends CustomField { String REFERENCE_SET = "ReferenceSet"; /** - * + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -50,7 +50,7 @@ public interface ReferenceSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param value values to be set */ @@ -58,7 +58,7 @@ public interface ReferenceSetField extends CustomField { public void setValue(final KeyReference... value); /** - * set value + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldBuilder.java index 7bf379a65a1..3e18344268b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldBuilder.java @@ -25,7 +25,7 @@ public class ReferenceSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -36,7 +36,7 @@ public ReferenceSetFieldBuilder value(final com.commercetools.importapi.models.c } /** - * set value to the value + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -48,7 +48,7 @@ public ReferenceSetFieldBuilder value( } /** - * add values to the value + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -62,7 +62,7 @@ public ReferenceSetFieldBuilder plusValue(final com.commercetools.importapi.mode } /** - * add a value to the value using the builder function + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -77,7 +77,7 @@ public ReferenceSetFieldBuilder plusValue( } /** - * set the value to the value using the builder function + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @param builder function to build the value value * @return Builder */ @@ -90,7 +90,7 @@ public ReferenceSetFieldBuilder withValue( } /** - * value of value} + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java index 1f28b070ed5..e1a7f8836aa 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/ReferenceSetFieldImpl.java @@ -52,7 +52,7 @@ public String getType() { } /** - * + *

JSON array of references, each referencing an existing resource by key. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringField.java index 147ce11981c..1ad095ff4de 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringField.java @@ -38,7 +38,7 @@ public interface StringField extends CustomField { String STRING = "String"; /** - * + *

A text value.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface StringField extends CustomField { public String getValue(); /** - * set value + *

A text value.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldBuilder.java index ecedc1c5484..b1d765dda27 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldBuilder.java @@ -24,7 +24,7 @@ public class StringFieldBuilder implements Builder { private String value; /** - * set the value to the value + *

A text value.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public StringFieldBuilder value(final String value) { } /** - * value of value} + *

A text value.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java index 45a419f6c0b..b93cd6787c6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A text value.

*/ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetField.java index a1846ddf24b..45cbfcdc26a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetField.java @@ -38,7 +38,7 @@ public interface StringSetField extends CustomField { String STRING_SET = "StringSet"; /** - * + *

JSON array of strings. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface StringSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of strings. The order of items in the array is not fixed.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface StringSetField extends CustomField { public void setValue(final String... value); /** - * set value + *

JSON array of strings. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldBuilder.java index eef939b3641..f12a8ad4be5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldBuilder.java @@ -24,7 +24,7 @@ public class StringSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public StringSetFieldBuilder value(final String... value) { } /** - * set value to the value + *

JSON array of strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public StringSetFieldBuilder value(final java.util.List value) { } /** - * add values to the value + *

JSON array of strings. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public StringSetFieldBuilder plusValue(final String... value) { } /** - * value of value} + *

JSON array of strings. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java index 069530f1652..e127775dee7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/StringSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of strings. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeField.java index 163c52ba51a..408ee6609e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeField.java @@ -39,7 +39,7 @@ public interface TimeField extends CustomField { String TIME = "Time"; /** - * + *

A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface TimeField extends CustomField { public LocalTime getValue(); /** - * set value + *

A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldBuilder.java index 2046a9ef1e2..634e85358ec 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldBuilder.java @@ -24,7 +24,7 @@ public class TimeFieldBuilder implements Builder { private java.time.LocalTime value; /** - * set the value to the value + *

A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public TimeFieldBuilder value(final java.time.LocalTime value) { } /** - * value of value} + *

A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java index 81a13468cf9..a2f2d7e0b5d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

*/ public java.time.LocalTime getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetField.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetField.java index f89e1b25c56..a7d20840939 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetField.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetField.java @@ -39,7 +39,7 @@ public interface TimeSetField extends CustomField { String TIME_SET = "TimeSet"; /** - * + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface TimeSetField extends CustomField { public List getValue(); /** - * set value + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value values to be set */ @@ -55,7 +55,7 @@ public interface TimeSetField extends CustomField { public void setValue(final LocalTime... value); /** - * set value + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldBuilder.java index 1e50ecadfa3..b93b00d75ae 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldBuilder.java @@ -24,7 +24,7 @@ public class TimeSetFieldBuilder implements Builder { private java.util.List value; /** - * set values to the value + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -35,7 +35,7 @@ public TimeSetFieldBuilder value(final java.time.LocalTime... value) { } /** - * set value to the value + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -46,7 +46,7 @@ public TimeSetFieldBuilder value(final java.util.List value } /** - * add values to the value + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @param value value to be set * @return Builder */ @@ -60,7 +60,7 @@ public TimeSetFieldBuilder plusValue(final java.time.LocalTime... value) { } /** - * value of value} + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java index 8986d16235f..42a071240af 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/customfields/TimeSetFieldImpl.java @@ -51,7 +51,7 @@ public String getType() { } /** - * + *

JSON array of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC. The order of items in the array is not fixed.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImport.java index 0a93ab3ab87..824e2b0a3bc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImport.java @@ -22,7 +22,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a Discount Code to be imported that is persisted as a Discount Code in the Project.

+ *

Represents the data used to import a DiscountCode. Once imported, this data is persisted as a DiscountCode in the Project.

* *
* Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface DiscountCodeImport extends ImportResource { /** - *

User-defined unique identifier. If a Discount Code with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -66,8 +66,7 @@ public interface DiscountCodeImport extends ImportResource { public LocalizedString getDescription(); /** - *

User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.

- *

The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.

+ *

Maps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

* @return code */ @NotNull @@ -75,7 +74,7 @@ public interface DiscountCodeImport extends ImportResource { public String getCode(); /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @return cartDiscounts */ @NotNull @@ -84,7 +83,7 @@ public interface DiscountCodeImport extends ImportResource { public List getCartDiscounts(); /** - *

DiscountCode can only be applied to Carts that match this predicate.

+ *

Maps to DiscountCode.cartPredicate.

* @return cartPredicate */ @@ -92,7 +91,7 @@ public interface DiscountCodeImport extends ImportResource { public String getCartPredicate(); /** - *

Indicates if the DiscountCode is active and can be applied to the Cart.

+ *

Maps to DiscountCode.isActive.

* @return isActive */ @NotNull @@ -100,7 +99,7 @@ public interface DiscountCodeImport extends ImportResource { public Boolean getIsActive(); /** - *

Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplications.

* @return maxApplications */ @@ -108,7 +107,7 @@ public interface DiscountCodeImport extends ImportResource { public Long getMaxApplications(); /** - *

Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplicationsPerCustomer.

* @return maxApplicationsPerCustomer */ @@ -116,7 +115,7 @@ public interface DiscountCodeImport extends ImportResource { public Long getMaxApplicationsPerCustomer(); /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @return groups */ @@ -124,7 +123,7 @@ public interface DiscountCodeImport extends ImportResource { public List getGroups(); /** - *

Date and time (UTC) from which the DiscountCode is effective.

+ *

Maps to DiscountCode.validFrom.

* @return validFrom */ @@ -132,7 +131,7 @@ public interface DiscountCodeImport extends ImportResource { public ZonedDateTime getValidFrom(); /** - *

Date and time (UTC) until which the DiscountCode is effective.

+ *

Maps to DiscountCode.validUntil.

* @return validUntil */ @@ -140,7 +139,7 @@ public interface DiscountCodeImport extends ImportResource { public ZonedDateTime getValidUntil(); /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @return custom */ @Valid @@ -148,7 +147,7 @@ public interface DiscountCodeImport extends ImportResource { public Custom getCustom(); /** - *

User-defined unique identifier. If a Discount Code with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.

* @param key value to be set */ @@ -169,15 +168,14 @@ public interface DiscountCodeImport extends ImportResource { public void setDescription(final LocalizedString description); /** - *

User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.

- *

The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.

+ *

Maps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

* @param code value to be set */ public void setCode(final String code); /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param cartDiscounts values to be set */ @@ -185,42 +183,42 @@ public interface DiscountCodeImport extends ImportResource { public void setCartDiscounts(final CartDiscountKeyReference... cartDiscounts); /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param cartDiscounts values to be set */ public void setCartDiscounts(final List cartDiscounts); /** - *

DiscountCode can only be applied to Carts that match this predicate.

+ *

Maps to DiscountCode.cartPredicate.

* @param cartPredicate value to be set */ public void setCartPredicate(final String cartPredicate); /** - *

Indicates if the DiscountCode is active and can be applied to the Cart.

+ *

Maps to DiscountCode.isActive.

* @param isActive value to be set */ public void setIsActive(final Boolean isActive); /** - *

Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplications.

* @param maxApplications value to be set */ public void setMaxApplications(final Long maxApplications); /** - *

Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplicationsPerCustomer.

* @param maxApplicationsPerCustomer value to be set */ public void setMaxApplicationsPerCustomer(final Long maxApplicationsPerCustomer); /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @param groups values to be set */ @@ -228,28 +226,28 @@ public interface DiscountCodeImport extends ImportResource { public void setGroups(final String... groups); /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @param groups values to be set */ public void setGroups(final List groups); /** - *

Date and time (UTC) from which the DiscountCode is effective.

+ *

Maps to DiscountCode.validFrom.

* @param validFrom value to be set */ public void setValidFrom(final ZonedDateTime validFrom); /** - *

Date and time (UTC) until which the DiscountCode is effective.

+ *

Maps to DiscountCode.validUntil.

* @param validUntil value to be set */ public void setValidUntil(final ZonedDateTime validUntil); /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportBuilder.java index d16883f0150..50733b66d54 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportBuilder.java @@ -63,7 +63,7 @@ public class DiscountCodeImportBuilder implements Builder { private com.commercetools.importapi.models.customfields.Custom custom; /** - *

User-defined unique identifier. If a Discount Code with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -146,8 +146,7 @@ public DiscountCodeImportBuilder description( } /** - *

User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.

- *

The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.

+ *

Maps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

* @param code value to be set * @return Builder */ @@ -158,7 +157,7 @@ public DiscountCodeImportBuilder code(final String code) { } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param cartDiscounts value to be set * @return Builder */ @@ -170,7 +169,7 @@ public DiscountCodeImportBuilder cartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param cartDiscounts value to be set * @return Builder */ @@ -182,7 +181,7 @@ public DiscountCodeImportBuilder cartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param cartDiscounts value to be set * @return Builder */ @@ -197,7 +196,7 @@ public DiscountCodeImportBuilder plusCartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param builder function to build the cartDiscounts value * @return Builder */ @@ -213,7 +212,7 @@ public DiscountCodeImportBuilder plusCartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param builder function to build the cartDiscounts value * @return Builder */ @@ -227,7 +226,7 @@ public DiscountCodeImportBuilder withCartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param builder function to build the cartDiscounts value * @return Builder */ @@ -239,7 +238,7 @@ public DiscountCodeImportBuilder addCartDiscounts( } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @param builder function to build the cartDiscounts value * @return Builder */ @@ -251,7 +250,7 @@ public DiscountCodeImportBuilder setCartDiscounts( } /** - *

DiscountCode can only be applied to Carts that match this predicate.

+ *

Maps to DiscountCode.cartPredicate.

* @param cartPredicate value to be set * @return Builder */ @@ -262,7 +261,7 @@ public DiscountCodeImportBuilder cartPredicate(@Nullable final String cartPredic } /** - *

Indicates if the DiscountCode is active and can be applied to the Cart.

+ *

Maps to DiscountCode.isActive.

* @param isActive value to be set * @return Builder */ @@ -273,7 +272,7 @@ public DiscountCodeImportBuilder isActive(final Boolean isActive) { } /** - *

Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplications.

* @param maxApplications value to be set * @return Builder */ @@ -284,7 +283,7 @@ public DiscountCodeImportBuilder maxApplications(@Nullable final Long maxApplica } /** - *

Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplicationsPerCustomer.

* @param maxApplicationsPerCustomer value to be set * @return Builder */ @@ -295,7 +294,7 @@ public DiscountCodeImportBuilder maxApplicationsPerCustomer(@Nullable final Long } /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @param groups value to be set * @return Builder */ @@ -306,7 +305,7 @@ public DiscountCodeImportBuilder groups(@Nullable final String... groups) { } /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @param groups value to be set * @return Builder */ @@ -317,7 +316,7 @@ public DiscountCodeImportBuilder groups(@Nullable final java.util.List g } /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @param groups value to be set * @return Builder */ @@ -331,7 +330,7 @@ public DiscountCodeImportBuilder plusGroups(@Nullable final String... groups) { } /** - *

Date and time (UTC) from which the DiscountCode is effective.

+ *

Maps to DiscountCode.validFrom.

* @param validFrom value to be set * @return Builder */ @@ -342,7 +341,7 @@ public DiscountCodeImportBuilder validFrom(@Nullable final java.time.ZonedDateTi } /** - *

Date and time (UTC) until which the DiscountCode is effective.

+ *

Maps to DiscountCode.validUntil.

* @param validUntil value to be set * @return Builder */ @@ -353,7 +352,7 @@ public DiscountCodeImportBuilder validUntil(@Nullable final java.time.ZonedDateT } /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @param builder function to build the custom value * @return Builder */ @@ -365,7 +364,7 @@ public DiscountCodeImportBuilder custom( } /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @param builder function to build the custom value * @return Builder */ @@ -377,7 +376,7 @@ public DiscountCodeImportBuilder withCustom( } /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @param custom value to be set * @return Builder */ @@ -389,7 +388,7 @@ public DiscountCodeImportBuilder custom( } /** - *

User-defined unique identifier. If a Discount Code with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.

* @return key */ @@ -418,8 +417,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.

- *

The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.

+ *

Maps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

* @return code */ @@ -428,7 +426,7 @@ public String getCode() { } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

* @return cartDiscounts */ @@ -437,7 +435,7 @@ public java.util.ListDiscountCode can only be applied to Carts that match this predicate.

+ *

Maps to DiscountCode.cartPredicate.

* @return cartPredicate */ @@ -447,7 +445,7 @@ public String getCartPredicate() { } /** - *

Indicates if the DiscountCode is active and can be applied to the Cart.

+ *

Maps to DiscountCode.isActive.

* @return isActive */ @@ -456,7 +454,7 @@ public Boolean getIsActive() { } /** - *

Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplications.

* @return maxApplications */ @@ -466,7 +464,7 @@ public Long getMaxApplications() { } /** - *

Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplicationsPerCustomer.

* @return maxApplicationsPerCustomer */ @@ -476,7 +474,7 @@ public Long getMaxApplicationsPerCustomer() { } /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

* @return groups */ @@ -486,7 +484,7 @@ public java.util.List getGroups() { } /** - *

Date and time (UTC) from which the DiscountCode is effective.

+ *

Maps to DiscountCode.validFrom.

* @return validFrom */ @@ -496,7 +494,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

Date and time (UTC) until which the DiscountCode is effective.

+ *

Maps to DiscountCode.validUntil.

* @return validUntil */ @@ -506,7 +504,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportImpl.java index 129b990ac9c..addd6a485bf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/discount_codes/DiscountCodeImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a Discount Code to be imported that is persisted as a Discount Code in the Project.

+ *

Represents the data used to import a DiscountCode. Once imported, this data is persisted as a DiscountCode in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DiscountCodeImportImpl implements DiscountCodeImport, ModelBase { @@ -86,7 +86,7 @@ public DiscountCodeImportImpl() { } /** - *

User-defined unique identifier. If a Discount Code with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a DiscountCode with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -110,8 +110,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

User-defined unique identifier of the DiscountCode that is used by the customer to apply the discount.

- *

The value cannot be updated. Attempting to update the value will result in an InvalidFieldsUpdate error.

+ *

Maps to DiscountCode.code. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

*/ public String getCode() { @@ -119,7 +118,7 @@ public String getCode() { } /** - *

Reference to CartDiscounts that can be applied to the Cart once the DiscountCode is applied.

+ *

Maps to DiscountCode.cartDiscounts. If the referenced CartDiscounts do not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscounts are created.

*/ public java.util.List getCartDiscounts() { @@ -127,7 +126,7 @@ public java.util.ListDiscountCode can only be applied to Carts that match this predicate.

+ *

Maps to DiscountCode.cartPredicate.

*/ public String getCartPredicate() { @@ -135,7 +134,7 @@ public String getCartPredicate() { } /** - *

Indicates if the DiscountCode is active and can be applied to the Cart.

+ *

Maps to DiscountCode.isActive.

*/ public Boolean getIsActive() { @@ -143,7 +142,7 @@ public Boolean getIsActive() { } /** - *

Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplications.

*/ public Long getMaxApplications() { @@ -151,7 +150,7 @@ public Long getMaxApplications() { } /** - *

Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or update. However, Order cancellation or deletion does not decrement the count.

+ *

Maps to DiscountCode.maxApplicationsPerCustomer.

*/ public Long getMaxApplicationsPerCustomer() { @@ -159,7 +158,7 @@ public Long getMaxApplicationsPerCustomer() { } /** - *

Groups to which the DiscountCode belongs.

+ *

Maps to DiscountCode.groups.

*/ public java.util.List getGroups() { @@ -167,7 +166,7 @@ public java.util.List getGroups() { } /** - *

Date and time (UTC) from which the DiscountCode is effective.

+ *

Maps to DiscountCode.validFrom.

*/ public java.time.ZonedDateTime getValidFrom() { @@ -175,7 +174,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

Date and time (UTC) until which the DiscountCode is effective.

+ *

Maps to DiscountCode.validUntil.

*/ public java.time.ZonedDateTime getValidUntil() { @@ -183,7 +182,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

Custom Fields of the DiscountCode.

+ *

Maps to DiscountCode.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldError.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldError.java index f05a28e7fb7..b5064f26192 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldError.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldError.java @@ -63,7 +63,7 @@ public interface InvalidFieldError extends ErrorObject { public List getAllowedValues(); /** - * + *

The index of the resource in the import request that contains the invalid field.

* @return resourceIndex */ @@ -100,7 +100,7 @@ public interface InvalidFieldError extends ErrorObject { public void setAllowedValues(final List allowedValues); /** - * set resourceIndex + *

The index of the resource in the import request that contains the invalid field.

* @param resourceIndex value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorBuilder.java index f298edeeb7a..2d2a70948a1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorBuilder.java @@ -106,7 +106,7 @@ public InvalidFieldErrorBuilder plusAllowedValues(@Nullable final java.lang.Obje } /** - * set the value to the resourceIndex + *

The index of the resource in the import request that contains the invalid field.

* @param resourceIndex value to be set * @return Builder */ @@ -154,7 +154,7 @@ public java.util.List getAllowedValues() { } /** - * value of resourceIndex} + *

The index of the resource in the import request that contains the invalid field.

* @return resourceIndex */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java index 907d3f4f75e..53dab8b5626 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/InvalidFieldErrorImpl.java @@ -98,7 +98,7 @@ public java.util.List getAllowedValues() { } /** - * + *

The index of the resource in the import request that contains the invalid field.

*/ public Long getResourceIndex() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationError.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationError.java index 83962b44129..724b7bb573d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationError.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationError.java @@ -36,7 +36,7 @@ public interface ResourceCreationError extends ErrorObject { String RESOURCE_CREATION = "ResourceCreation"; /** - * + *

The resource that was created.

* @return resource */ @@ -44,7 +44,7 @@ public interface ResourceCreationError extends ErrorObject { public Object getResource(); /** - * set resource + *

The resource that was created.

* @param resource value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorBuilder.java index 0e856408613..6fe93736d59 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorBuilder.java @@ -40,7 +40,7 @@ public ResourceCreationErrorBuilder message(final String message) { } /** - * set the value to the resource + *

The resource that was created.

* @param resource value to be set * @return Builder */ @@ -60,7 +60,7 @@ public String getMessage() { } /** - * value of resource} + *

The resource that was created.

* @return resource */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java index 643aab58dd3..a7a6a4eed83 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceCreationErrorImpl.java @@ -63,7 +63,7 @@ public String getMessage() { } /** - * + *

The resource that was created.

*/ public java.lang.Object getResource() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionError.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionError.java index a9c1fa730eb..f03777859e0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionError.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionError.java @@ -36,7 +36,7 @@ public interface ResourceDeletionError extends ErrorObject { String RESOURCE_DELETION = "ResourceDeletion"; /** - * + *

The resource that was deleted.

* @return resource */ @@ -44,7 +44,7 @@ public interface ResourceDeletionError extends ErrorObject { public Object getResource(); /** - * set resource + *

The resource that was deleted.

* @param resource value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorBuilder.java index 3dd2c7a5456..05a3a73420b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorBuilder.java @@ -40,7 +40,7 @@ public ResourceDeletionErrorBuilder message(final String message) { } /** - * set the value to the resource + *

The resource that was deleted.

* @param resource value to be set * @return Builder */ @@ -60,7 +60,7 @@ public String getMessage() { } /** - * value of resource} + *

The resource that was deleted.

* @return resource */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java index b36c5d60c23..5a7dfc0760f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceDeletionErrorImpl.java @@ -63,7 +63,7 @@ public String getMessage() { } /** - * + *

The resource that was deleted.

*/ public java.lang.Object getResource() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundError.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundError.java index 22d0bc3ad2d..41adb161d19 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundError.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundError.java @@ -36,7 +36,7 @@ public interface ResourceNotFoundError extends ErrorObject { String RESOURCE_NOT_FOUND = "ResourceNotFound"; /** - * + *

The resource that was not found.

* @return resource */ @@ -44,7 +44,7 @@ public interface ResourceNotFoundError extends ErrorObject { public Object getResource(); /** - * set resource + *

The resource that was not found.

* @param resource value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorBuilder.java index c47e72003db..bb510c0accc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorBuilder.java @@ -40,7 +40,7 @@ public ResourceNotFoundErrorBuilder message(final String message) { } /** - * set the value to the resource + *

The resource that was not found.

* @param resource value to be set * @return Builder */ @@ -60,7 +60,7 @@ public String getMessage() { } /** - * value of resource} + *

The resource that was not found.

* @return resource */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java index e2520dc848d..2d50ed5cbd8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceNotFoundErrorImpl.java @@ -63,7 +63,7 @@ public String getMessage() { } /** - * + *

The resource that was not found.

*/ public java.lang.Object getResource() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateError.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateError.java index 0a74d4213c4..974000d41a0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateError.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateError.java @@ -36,7 +36,7 @@ public interface ResourceUpdateError extends ErrorObject { String RESOURCE_UPDATE = "ResourceUpdate"; /** - * + *

The resource that was updated.

* @return resource */ @@ -44,7 +44,7 @@ public interface ResourceUpdateError extends ErrorObject { public Object getResource(); /** - * set resource + *

The resource that was updated.

* @param resource value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorBuilder.java index 8ad5d98ef04..c7c6944d3d8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorBuilder.java @@ -40,7 +40,7 @@ public ResourceUpdateErrorBuilder message(final String message) { } /** - * set the value to the resource + *

The resource that was updated.

* @param resource value to be set * @return Builder */ @@ -60,7 +60,7 @@ public String getMessage() { } /** - * value of resource} + *

The resource that was updated.

* @return resource */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java index 5b1c2cb0b82..724aeaa530d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/ResourceUpdateErrorImpl.java @@ -63,7 +63,7 @@ public String getMessage() { } /** - * + *

The resource that was updated.

*/ public java.lang.Object getResource() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValues.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValues.java index f0ea7f862f9..c7a314390d3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValues.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValues.java @@ -37,7 +37,7 @@ public interface VariantValues { /** - * + *

The SKU of the Product Variant.

* @return sku */ @@ -63,7 +63,7 @@ public interface VariantValues { public List getAttributes(); /** - * set sku + *

The SKU of the Product Variant.

* @param sku value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesBuilder.java index d1e819ef80b..93550d52d66 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesBuilder.java @@ -33,7 +33,7 @@ public class VariantValuesBuilder implements Builder { private java.util.List attributes; /** - * set the value to the sku + *

The SKU of the Product Variant.

* @param sku value to be set * @return Builder */ @@ -200,7 +200,7 @@ public VariantValuesBuilder withAttributes( } /** - * value of sku} + *

The SKU of the Product Variant.

* @return sku */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java index 5e3fcb88c1c..9fc7919cfd3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/errors/VariantValuesImpl.java @@ -47,7 +47,7 @@ public VariantValuesImpl() { } /** - * + *

The SKU of the Product Variant.

*/ public String getSku() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainer.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainer.java index 901035ff79a..42c0190d5e0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainer.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainer.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Serves as the entry point of resources. An Import Container is not resource type-specific.

+ *

Contains the resources to be imported. Unless resourceType is specified, the ImportContainer can import all of the supported ImportResourceTypes.

* *
* Example to create an instance using the builder pattern @@ -38,7 +38,7 @@ public interface ImportContainer { /** - *

User-defined unique identifier for the ImportContainer.

+ *

User-defined unique identifier of the ImportContainer.

* @return key */ @NotNull @@ -46,7 +46,7 @@ public interface ImportContainer { public String getKey(); /** - *

The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer supports. If not present, the ImportContainer can import all of the supported ImportResourceTypes.

* @return resourceType */ @@ -54,7 +54,7 @@ public interface ImportContainer { public ImportResourceType getResourceType(); /** - *

The version of the ImportContainer.

+ *

Current version of the ImportContainer.

* @return version */ @NotNull @@ -94,21 +94,21 @@ public interface ImportContainer { public ZonedDateTime getExpiresAt(); /** - *

User-defined unique identifier for the ImportContainer.

+ *

User-defined unique identifier of the ImportContainer.

* @param key value to be set */ public void setKey(final String key); /** - *

The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer supports. If not present, the ImportContainer can import all of the supported ImportResourceTypes.

* @param resourceType value to be set */ public void setResourceType(final ImportResourceType resourceType); /** - *

The version of the ImportContainer.

+ *

Current version of the ImportContainer.

* @param version value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerBuilder.java index 805e4e1a682..0177179f4a6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerBuilder.java @@ -45,7 +45,7 @@ public class ImportContainerBuilder implements Builder { private java.time.ZonedDateTime expiresAt; /** - *

User-defined unique identifier for the ImportContainer.

+ *

User-defined unique identifier of the ImportContainer.

* @param key value to be set * @return Builder */ @@ -56,7 +56,7 @@ public ImportContainerBuilder key(final String key) { } /** - *

The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer supports. If not present, the ImportContainer can import all of the supported ImportResourceTypes.

* @param resourceType value to be set * @return Builder */ @@ -68,7 +68,7 @@ public ImportContainerBuilder resourceType( } /** - *

The version of the ImportContainer.

+ *

Current version of the ImportContainer.

* @param version value to be set * @return Builder */ @@ -138,7 +138,7 @@ public ImportContainerBuilder expiresAt(@Nullable final java.time.ZonedDateTime } /** - *

User-defined unique identifier for the ImportContainer.

+ *

User-defined unique identifier of the ImportContainer.

* @return key */ @@ -147,7 +147,7 @@ public String getKey() { } /** - *

The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer supports. If not present, the ImportContainer can import all of the supported ImportResourceTypes.

* @return resourceType */ @@ -157,7 +157,7 @@ public com.commercetools.importapi.models.common.ImportResourceType getResourceT } /** - *

The version of the ImportContainer.

+ *

Current version of the ImportContainer.

* @return version */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraft.java index 2911e91912d..cb130b1c32f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraft.java @@ -17,7 +17,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The representation sent to the server when creating an ImportContainer.

+ *

The representation sent to the server to create an ImportContainer.

* *
* Example to create an instance using the builder pattern @@ -42,7 +42,7 @@ public interface ImportContainerDraft extends io.vrap.rmf.base.client.DraftThe resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer will accept. If not specified, the ImportContainer can import all of the supported ImportResourceTypes.

* @return resourceType */ @@ -65,7 +65,7 @@ public interface ImportContainerDraft extends io.vrap.rmf.base.client.DraftThe resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer will accept. If not specified, the ImportContainer can import all of the supported ImportResourceTypes.

* @param resourceType value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftBuilder.java index 13849b1d459..48361a58aef 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftBuilder.java @@ -44,7 +44,7 @@ public ImportContainerDraftBuilder key(final String key) { } /** - *

The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer will accept. If not specified, the ImportContainer can import all of the supported ImportResourceTypes.

* @param resourceType value to be set * @return Builder */ @@ -91,7 +91,7 @@ public String getKey() { } /** - *

The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer will accept. If not specified, the ImportContainer can import all of the supported ImportResourceTypes.

* @return resourceType */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java index d2fd9429644..ef23ff1b1e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerDraftImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The representation sent to the server when creating an ImportContainer.

+ *

The representation sent to the server to create an ImportContainer.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportContainerDraftImpl implements ImportContainerDraft, ModelBase { @@ -55,7 +55,7 @@ public String getKey() { } /** - *

The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer will accept. If not specified, the ImportContainer can import all of the supported ImportResourceTypes.

*/ public com.commercetools.importapi.models.common.ImportResourceType getResourceType() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java index eef08a80310..0a30c722670 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Serves as the entry point of resources. An Import Container is not resource type-specific.

+ *

Contains the resources to be imported. Unless resourceType is specified, the ImportContainer can import all of the supported ImportResourceTypes.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportContainerImpl implements ImportContainer, ModelBase { @@ -63,7 +63,7 @@ public ImportContainerImpl() { } /** - *

User-defined unique identifier for the ImportContainer.

+ *

User-defined unique identifier of the ImportContainer.

*/ public String getKey() { @@ -71,7 +71,7 @@ public String getKey() { } /** - *

The resource type the ImportContainer is able to handle. If not present, the ImportContainer is able to import all of the supported ImportResourceTypes.

+ *

The resource type the ImportContainer supports. If not present, the ImportContainer can import all of the supported ImportResourceTypes.

*/ public com.commercetools.importapi.models.common.ImportResourceType getResourceType() { @@ -79,7 +79,7 @@ public com.commercetools.importapi.models.common.ImportResourceType getResourceT } /** - *

The version of the ImportContainer.

+ *

Current version of the ImportContainer.

*/ public Long getVersion() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponse.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponse.java index dfe33216b9e..3c4802961e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponse.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponse.java @@ -17,7 +17,7 @@ import jakarta.validation.constraints.NotNull; /** - *

PagedQueryResult for ImportContainers. Used as a response to a query request for ImportContainers.

+ *

PagedQueryResult with results containing an array of ImportContainer.

* *
* Example to create an instance using the builder pattern @@ -54,7 +54,7 @@ public interface ImportContainerPagedResponse { public Long getOffset(); /** - *

The actual number of results returned.

+ *

Actual number of results returned.

* @return count */ @NotNull @@ -62,7 +62,7 @@ public interface ImportContainerPagedResponse { public Long getCount(); /** - *

The total number of results matching the query.

+ *

Total number of results matching the query.

* @return total */ @NotNull @@ -70,7 +70,7 @@ public interface ImportContainerPagedResponse { public Long getTotal(); /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @return results */ @NotNull @@ -93,21 +93,21 @@ public interface ImportContainerPagedResponse { public void setOffset(final Long offset); /** - *

The actual number of results returned.

+ *

Actual number of results returned.

* @param count value to be set */ public void setCount(final Long count); /** - *

The total number of results matching the query.

+ *

Total number of results matching the query.

* @param total value to be set */ public void setTotal(final Long total); /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param results values to be set */ @@ -115,7 +115,7 @@ public interface ImportContainerPagedResponse { public void setResults(final ImportContainer... results); /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param results values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseBuilder.java index 56840d256ef..bc16f00a8b5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseBuilder.java @@ -59,7 +59,7 @@ public ImportContainerPagedResponseBuilder offset(final Long offset) { } /** - *

The actual number of results returned.

+ *

Actual number of results returned.

* @param count value to be set * @return Builder */ @@ -70,7 +70,7 @@ public ImportContainerPagedResponseBuilder count(final Long count) { } /** - *

The total number of results matching the query.

+ *

Total number of results matching the query.

* @param total value to be set * @return Builder */ @@ -81,7 +81,7 @@ public ImportContainerPagedResponseBuilder total(final Long total) { } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param results value to be set * @return Builder */ @@ -93,7 +93,7 @@ public ImportContainerPagedResponseBuilder results( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param results value to be set * @return Builder */ @@ -105,7 +105,7 @@ public ImportContainerPagedResponseBuilder results( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param results value to be set * @return Builder */ @@ -120,7 +120,7 @@ public ImportContainerPagedResponseBuilder plusResults( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param builder function to build the results value * @return Builder */ @@ -136,7 +136,7 @@ public ImportContainerPagedResponseBuilder plusResults( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param builder function to build the results value * @return Builder */ @@ -150,7 +150,7 @@ public ImportContainerPagedResponseBuilder withResults( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param builder function to build the results value * @return Builder */ @@ -162,7 +162,7 @@ public ImportContainerPagedResponseBuilder addResults( } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @param builder function to build the results value * @return Builder */ @@ -191,7 +191,7 @@ public Long getOffset() { } /** - *

The actual number of results returned.

+ *

Actual number of results returned.

* @return count */ @@ -200,7 +200,7 @@ public Long getCount() { } /** - *

The total number of results matching the query.

+ *

Total number of results matching the query.

* @return total */ @@ -209,7 +209,7 @@ public Long getTotal() { } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

* @return results */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java index ef8c46648cf..9c772af6b3a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerPagedResponseImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

PagedQueryResult for ImportContainers. Used as a response to a query request for ImportContainers.

+ *

PagedQueryResult with results containing an array of ImportContainer.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportContainerPagedResponseImpl implements ImportContainerPagedResponse, ModelBase { @@ -70,7 +70,7 @@ public Long getOffset() { } /** - *

The actual number of results returned.

+ *

Actual number of results returned.

*/ public Long getCount() { @@ -78,7 +78,7 @@ public Long getCount() { } /** - *

The total number of results matching the query.

+ *

Total number of results matching the query.

*/ public Long getTotal() { @@ -86,7 +86,7 @@ public Long getTotal() { } /** - *

The array of Import Containers matching the query.

+ *

ImportContainers matching the query.

*/ public java.util.List getResults() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraft.java index 93631f160b8..245e20075ca 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraft.java @@ -16,7 +16,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The representation sent to the server when updating an Import Container.

+ *

The representation sent to the server when updating an ImportContainer.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java index 1f34aed8e6f..80aae3822ea 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importcontainers/ImportContainerUpdateDraftImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The representation sent to the server when updating an Import Container.

+ *

The representation sent to the server when updating an ImportContainer.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportContainerUpdateDraftImpl implements ImportContainerUpdateDraft, ModelBase { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java index 3e7f60785da..3fc816f9448 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperation.java @@ -21,7 +21,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Import Operation describes the import status of a specific resource.

+ *

Represents the import status of a resource.

* *
* Example to create an instance using the builder pattern @@ -45,7 +45,7 @@ public interface ImportOperation { /** - *

The version of the ImportOperation.

+ *

Current version of the ImportOperation.

* @return version */ @NotNull @@ -53,7 +53,7 @@ public interface ImportOperation { public Long getVersion(); /** - *

The key of the ImportContainer.

+ *

key of the ImportContainer.

* @return importContainerKey */ @NotNull @@ -61,7 +61,7 @@ public interface ImportOperation { public String getImportContainerKey(); /** - *

The key of the resource.

+ *

key of the resource being imported.

* @return resourceKey */ @NotNull @@ -69,7 +69,7 @@ public interface ImportOperation { public String getResourceKey(); /** - *

The ID of the ImportOperation.

+ *

Unique identifier of the ImportOperation.

* @return id */ @NotNull @@ -77,7 +77,7 @@ public interface ImportOperation { public String getId(); /** - *

The import status of the resource. Set to rejected or validationFailed if the import of the resource was not successful.

+ *

The import status of the resource. If rejected or validationFailed, the import was unsuccessful.

* @return state */ @NotNull @@ -85,7 +85,7 @@ public interface ImportOperation { public ProcessingState getState(); /** - *

The version of the imported resource when the import was successful.

+ *

The version of the imported resource when the import was successful.

* @return resourceVersion */ @@ -93,7 +93,7 @@ public interface ImportOperation { public Long getResourceVersion(); /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @return errors */ @Valid @@ -101,7 +101,7 @@ public interface ImportOperation { public List getErrors(); /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @return unresolvedReferences */ @Valid @@ -109,7 +109,7 @@ public interface ImportOperation { public List getUnresolvedReferences(); /** - *

The time when the ImportOperation was created.

+ *

Date and time (UTC) the ImportOperation was created.

* @return createdAt */ @NotNull @@ -117,7 +117,7 @@ public interface ImportOperation { public ZonedDateTime getCreatedAt(); /** - *

The last time When the ImportOperation was modified.

+ *

Date and time (UTC) the ImportOperation was last updated.

* @return lastModifiedAt */ @NotNull @@ -125,7 +125,7 @@ public interface ImportOperation { public ZonedDateTime getLastModifiedAt(); /** - *

The expiration time of the ImportOperation.

+ *

Date and time (UTC) the ImportOperation will be deleted.

* @return expiresAt */ @NotNull @@ -133,49 +133,49 @@ public interface ImportOperation { public ZonedDateTime getExpiresAt(); /** - *

The version of the ImportOperation.

+ *

Current version of the ImportOperation.

* @param version value to be set */ public void setVersion(final Long version); /** - *

The key of the ImportContainer.

+ *

key of the ImportContainer.

* @param importContainerKey value to be set */ public void setImportContainerKey(final String importContainerKey); /** - *

The key of the resource.

+ *

key of the resource being imported.

* @param resourceKey value to be set */ public void setResourceKey(final String resourceKey); /** - *

The ID of the ImportOperation.

+ *

Unique identifier of the ImportOperation.

* @param id value to be set */ public void setId(final String id); /** - *

The import status of the resource. Set to rejected or validationFailed if the import of the resource was not successful.

+ *

The import status of the resource. If rejected or validationFailed, the import was unsuccessful.

* @param state value to be set */ public void setState(final ProcessingState state); /** - *

The version of the imported resource when the import was successful.

+ *

The version of the imported resource when the import was successful.

* @param resourceVersion value to be set */ public void setResourceVersion(final Long resourceVersion); /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param errors values to be set */ @@ -183,14 +183,14 @@ public interface ImportOperation { public void setErrors(final ErrorObject... errors); /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param errors values to be set */ public void setErrors(final List errors); /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param unresolvedReferences values to be set */ @@ -198,28 +198,28 @@ public interface ImportOperation { public void setUnresolvedReferences(final UnresolvedReferences... unresolvedReferences); /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param unresolvedReferences values to be set */ public void setUnresolvedReferences(final List unresolvedReferences); /** - *

The time when the ImportOperation was created.

+ *

Date and time (UTC) the ImportOperation was created.

* @param createdAt value to be set */ public void setCreatedAt(final ZonedDateTime createdAt); /** - *

The last time When the ImportOperation was modified.

+ *

Date and time (UTC) the ImportOperation was last updated.

* @param lastModifiedAt value to be set */ public void setLastModifiedAt(final ZonedDateTime lastModifiedAt); /** - *

The expiration time of the ImportOperation.

+ *

Date and time (UTC) the ImportOperation will be deleted.

* @param expiresAt value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java index 6ca6136d22e..3a4a9988aa9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationBuilder.java @@ -57,7 +57,7 @@ public class ImportOperationBuilder implements Builder { private java.time.ZonedDateTime expiresAt; /** - *

The version of the ImportOperation.

+ *

Current version of the ImportOperation.

* @param version value to be set * @return Builder */ @@ -68,7 +68,7 @@ public ImportOperationBuilder version(final Long version) { } /** - *

The key of the ImportContainer.

+ *

key of the ImportContainer.

* @param importContainerKey value to be set * @return Builder */ @@ -79,7 +79,7 @@ public ImportOperationBuilder importContainerKey(final String importContainerKey } /** - *

The key of the resource.

+ *

key of the resource being imported.

* @param resourceKey value to be set * @return Builder */ @@ -90,7 +90,7 @@ public ImportOperationBuilder resourceKey(final String resourceKey) { } /** - *

The ID of the ImportOperation.

+ *

Unique identifier of the ImportOperation.

* @param id value to be set * @return Builder */ @@ -101,7 +101,7 @@ public ImportOperationBuilder id(final String id) { } /** - *

The import status of the resource. Set to rejected or validationFailed if the import of the resource was not successful.

+ *

The import status of the resource. If rejected or validationFailed, the import was unsuccessful.

* @param state value to be set * @return Builder */ @@ -112,7 +112,7 @@ public ImportOperationBuilder state(final com.commercetools.importapi.models.com } /** - *

The version of the imported resource when the import was successful.

+ *

The version of the imported resource when the import was successful.

* @param resourceVersion value to be set * @return Builder */ @@ -123,7 +123,7 @@ public ImportOperationBuilder resourceVersion(@Nullable final Long resourceVersi } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param errors value to be set * @return Builder */ @@ -135,7 +135,7 @@ public ImportOperationBuilder errors( } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param errors value to be set * @return Builder */ @@ -147,7 +147,7 @@ public ImportOperationBuilder errors( } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param errors value to be set * @return Builder */ @@ -162,7 +162,7 @@ public ImportOperationBuilder plusErrors( } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param builder function to build the errors value * @return Builder */ @@ -177,7 +177,7 @@ public ImportOperationBuilder plusErrors( } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @param builder function to build the errors value * @return Builder */ @@ -190,7 +190,7 @@ public ImportOperationBuilder withErrors( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param unresolvedReferences value to be set * @return Builder */ @@ -202,7 +202,7 @@ public ImportOperationBuilder unresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param unresolvedReferences value to be set * @return Builder */ @@ -214,7 +214,7 @@ public ImportOperationBuilder unresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param unresolvedReferences value to be set * @return Builder */ @@ -229,7 +229,7 @@ public ImportOperationBuilder plusUnresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param builder function to build the unresolvedReferences value * @return Builder */ @@ -245,7 +245,7 @@ public ImportOperationBuilder plusUnresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param builder function to build the unresolvedReferences value * @return Builder */ @@ -259,7 +259,7 @@ public ImportOperationBuilder withUnresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param builder function to build the unresolvedReferences value * @return Builder */ @@ -271,7 +271,7 @@ public ImportOperationBuilder addUnresolvedReferences( } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @param builder function to build the unresolvedReferences value * @return Builder */ @@ -283,7 +283,7 @@ public ImportOperationBuilder setUnresolvedReferences( } /** - *

The time when the ImportOperation was created.

+ *

Date and time (UTC) the ImportOperation was created.

* @param createdAt value to be set * @return Builder */ @@ -294,7 +294,7 @@ public ImportOperationBuilder createdAt(final java.time.ZonedDateTime createdAt) } /** - *

The last time When the ImportOperation was modified.

+ *

Date and time (UTC) the ImportOperation was last updated.

* @param lastModifiedAt value to be set * @return Builder */ @@ -305,7 +305,7 @@ public ImportOperationBuilder lastModifiedAt(final java.time.ZonedDateTime lastM } /** - *

The expiration time of the ImportOperation.

+ *

Date and time (UTC) the ImportOperation will be deleted.

* @param expiresAt value to be set * @return Builder */ @@ -316,7 +316,7 @@ public ImportOperationBuilder expiresAt(final java.time.ZonedDateTime expiresAt) } /** - *

The version of the ImportOperation.

+ *

Current version of the ImportOperation.

* @return version */ @@ -325,7 +325,7 @@ public Long getVersion() { } /** - *

The key of the ImportContainer.

+ *

key of the ImportContainer.

* @return importContainerKey */ @@ -334,7 +334,7 @@ public String getImportContainerKey() { } /** - *

The key of the resource.

+ *

key of the resource being imported.

* @return resourceKey */ @@ -343,7 +343,7 @@ public String getResourceKey() { } /** - *

The ID of the ImportOperation.

+ *

Unique identifier of the ImportOperation.

* @return id */ @@ -352,7 +352,7 @@ public String getId() { } /** - *

The import status of the resource. Set to rejected or validationFailed if the import of the resource was not successful.

+ *

The import status of the resource. If rejected or validationFailed, the import was unsuccessful.

* @return state */ @@ -361,7 +361,7 @@ public com.commercetools.importapi.models.common.ProcessingState getState() { } /** - *

The version of the imported resource when the import was successful.

+ *

The version of the imported resource when the import was successful.

* @return resourceVersion */ @@ -371,7 +371,7 @@ public Long getResourceVersion() { } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

* @return errors */ @@ -381,7 +381,7 @@ public java.util.List get } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

* @return unresolvedReferences */ @@ -391,7 +391,7 @@ public java.util.ListThe time when the ImportOperation was created.

+ *

Date and time (UTC) the ImportOperation was created.

* @return createdAt */ @@ -400,7 +400,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - *

The last time When the ImportOperation was modified.

+ *

Date and time (UTC) the ImportOperation was last updated.

* @return lastModifiedAt */ @@ -409,7 +409,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

The expiration time of the ImportOperation.

+ *

Date and time (UTC) the ImportOperation will be deleted.

* @return expiresAt */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java index cd664134496..f0b5f015a54 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Import Operation describes the import status of a specific resource.

+ *

Represents the import status of a resource.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportOperationImpl implements ImportOperation, ModelBase { @@ -78,7 +78,7 @@ public ImportOperationImpl() { } /** - *

The version of the ImportOperation.

+ *

Current version of the ImportOperation.

*/ public Long getVersion() { @@ -86,7 +86,7 @@ public Long getVersion() { } /** - *

The key of the ImportContainer.

+ *

key of the ImportContainer.

*/ public String getImportContainerKey() { @@ -94,7 +94,7 @@ public String getImportContainerKey() { } /** - *

The key of the resource.

+ *

key of the resource being imported.

*/ public String getResourceKey() { @@ -102,7 +102,7 @@ public String getResourceKey() { } /** - *

The ID of the ImportOperation.

+ *

Unique identifier of the ImportOperation.

*/ public String getId() { @@ -110,7 +110,7 @@ public String getId() { } /** - *

The import status of the resource. Set to rejected or validationFailed if the import of the resource was not successful.

+ *

The import status of the resource. If rejected or validationFailed, the import was unsuccessful.

*/ public com.commercetools.importapi.models.common.ProcessingState getState() { @@ -118,7 +118,7 @@ public com.commercetools.importapi.models.common.ProcessingState getState() { } /** - *

The version of the imported resource when the import was successful.

+ *

The version of the imported resource when the import was successful.

*/ public Long getResourceVersion() { @@ -126,7 +126,7 @@ public Long getResourceVersion() { } /** - *

Contains an error if the import of the resource was not successful. See Errors.

+ *

Contains errors if the import was unsuccessful. See Errors.

*/ public java.util.List getErrors() { @@ -134,7 +134,7 @@ public java.util.List get } /** - *

In case of unresolved status this array will show the unresolved references

+ *

If the resource being imported contains references to resources which do not exist, these references are contained within this array.

*/ public java.util.List getUnresolvedReferences() { @@ -142,7 +142,7 @@ public java.util.ListThe time when the ImportOperation was created.

+ *

Date and time (UTC) the ImportOperation was created.

*/ public java.time.ZonedDateTime getCreatedAt() { @@ -150,7 +150,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - *

The last time When the ImportOperation was modified.

+ *

Date and time (UTC) the ImportOperation was last updated.

*/ public java.time.ZonedDateTime getLastModifiedAt() { @@ -158,7 +158,7 @@ public java.time.ZonedDateTime getLastModifiedAt() { } /** - *

The expiration time of the ImportOperation.

+ *

Date and time (UTC) the ImportOperation will be deleted.

*/ public java.time.ZonedDateTime getExpiresAt() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatus.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatus.java index b17e99d464a..6f360b4de6e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatus.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatus.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The ID and validation status of a new ImportOperation.

+ *

The status of a new ImportOperation.

* *
* Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ImportOperationStatus { /** - *

The ID of the ImportOperation.

+ *

id of the ImportOperation.

* @return operationId */ @@ -43,7 +43,7 @@ public interface ImportOperationStatus { public String getOperationId(); /** - *

The validation state of the ImportOperation.

+ *

Validation state of the ImportOperation.

* @return state */ @NotNull @@ -51,7 +51,7 @@ public interface ImportOperationStatus { public ImportOperationState getState(); /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @return errors */ @Valid @@ -59,21 +59,21 @@ public interface ImportOperationStatus { public List getErrors(); /** - *

The ID of the ImportOperation.

+ *

id of the ImportOperation.

* @param operationId value to be set */ public void setOperationId(final String operationId); /** - *

The validation state of the ImportOperation.

+ *

Validation state of the ImportOperation.

* @param state value to be set */ public void setState(final ImportOperationState state); /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param errors values to be set */ @@ -81,7 +81,7 @@ public interface ImportOperationStatus { public void setErrors(final ErrorObject... errors); /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param errors values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusBuilder.java index b1b95c5df6c..5c8306289d9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusBuilder.java @@ -33,7 +33,7 @@ public class ImportOperationStatusBuilder implements Builder errors; /** - *

The ID of the ImportOperation.

+ *

id of the ImportOperation.

* @param operationId value to be set * @return Builder */ @@ -44,7 +44,7 @@ public ImportOperationStatusBuilder operationId(@Nullable final String operation } /** - *

The validation state of the ImportOperation.

+ *

Validation state of the ImportOperation.

* @param state value to be set * @return Builder */ @@ -56,7 +56,7 @@ public ImportOperationStatusBuilder state( } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param errors value to be set * @return Builder */ @@ -68,7 +68,7 @@ public ImportOperationStatusBuilder errors( } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param errors value to be set * @return Builder */ @@ -80,7 +80,7 @@ public ImportOperationStatusBuilder errors( } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param errors value to be set * @return Builder */ @@ -95,7 +95,7 @@ public ImportOperationStatusBuilder plusErrors( } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param builder function to build the errors value * @return Builder */ @@ -110,7 +110,7 @@ public ImportOperationStatusBuilder plusErrors( } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @param builder function to build the errors value * @return Builder */ @@ -123,7 +123,7 @@ public ImportOperationStatusBuilder withErrors( } /** - *

The ID of the ImportOperation.

+ *

id of the ImportOperation.

* @return operationId */ @@ -133,7 +133,7 @@ public String getOperationId() { } /** - *

The validation state of the ImportOperation.

+ *

Validation state of the ImportOperation.

* @return state */ @@ -142,7 +142,7 @@ public com.commercetools.importapi.models.importoperations.ImportOperationState } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

* @return errors */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java index f30bcb55cba..0a49e70ddde 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importoperations/ImportOperationStatusImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The ID and validation status of a new ImportOperation.

+ *

The status of a new ImportOperation.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportOperationStatusImpl implements ImportOperationStatus, ModelBase { @@ -47,7 +47,7 @@ public ImportOperationStatusImpl() { } /** - *

The ID of the ImportOperation.

+ *

id of the ImportOperation.

*/ public String getOperationId() { @@ -55,7 +55,7 @@ public String getOperationId() { } /** - *

The validation state of the ImportOperation.

+ *

Validation state of the ImportOperation.

*/ public com.commercetools.importapi.models.importoperations.ImportOperationState getState() { @@ -63,7 +63,7 @@ public com.commercetools.importapi.models.importoperations.ImportOperationState } /** - *

The validation errors for the ImportOperation. See Errors.

+ *

Errors for the ImportOperation.

*/ public java.util.List getErrors() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequest.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequest.java index 71e99ffb185..64385a1788b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequest.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The request body to import Discount Codes. Contains data for Discount Codes to be created or updated in a Project.

+ *

The request body to import DiscountCodes. Contains data for Discount Codes to be created or updated in a Project.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequestImpl.java index e37e9d8a5a6..e23c50a5ac1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequestImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/DiscountCodeImportRequestImpl.java @@ -18,7 +18,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The request body to import Discount Codes. Contains data for Discount Codes to be created or updated in a Project.

+ *

The request body to import DiscountCodes. Contains data for Discount Codes to be created or updated in a Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class DiscountCodeImportRequestImpl implements DiscountCodeImportRequest, ModelBase { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequest.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequest.java index 686f8789966..84f0f18225e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequest.java @@ -133,6 +133,14 @@ public static com.commercetools.importapi.models.importrequests.ProductImportReq return com.commercetools.importapi.models.importrequests.ProductImportRequestBuilder.of(); } + /** + * builder for productSelection subtype + * @return builder + */ + public static com.commercetools.importapi.models.importrequests.ProductSelectionImportRequestBuilder productSelectionBuilder() { + return com.commercetools.importapi.models.importrequests.ProductSelectionImportRequestBuilder.of(); + } + /** * builder for productType subtype * @return builder diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestBuilder.java index 741eca611c9..2be2409f9eb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportRequestBuilder.java @@ -47,6 +47,10 @@ public com.commercetools.importapi.models.importrequests.ProductImportRequestBui return com.commercetools.importapi.models.importrequests.ProductImportRequestBuilder.of(); } + public com.commercetools.importapi.models.importrequests.ProductSelectionImportRequestBuilder productSelectionBuilder() { + return com.commercetools.importapi.models.importrequests.ProductSelectionImportRequestBuilder.of(); + } + public com.commercetools.importapi.models.importrequests.ProductTypeImportRequestBuilder productTypeBuilder() { return com.commercetools.importapi.models.importrequests.ProductTypeImportRequestBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponse.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponse.java index e50b4141353..b8894cae24f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponse.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponse.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The response of each resource import endpoint, such as Import Categories and Import ProductTypes.

+ *

The response of each Import Request.

* *
* Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ImportResponse { /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @return operationStatus */ @NotNull @@ -44,7 +44,7 @@ public interface ImportResponse { public List getOperationStatus(); /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param operationStatus values to be set */ @@ -52,7 +52,7 @@ public interface ImportResponse { public void setOperationStatus(final ImportOperationStatus... operationStatus); /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param operationStatus values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseBuilder.java index e6afd5703c7..a754d4545f9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseBuilder.java @@ -25,7 +25,7 @@ public class ImportResponseBuilder implements Builder { private java.util.List operationStatus; /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param operationStatus value to be set * @return Builder */ @@ -37,7 +37,7 @@ public ImportResponseBuilder operationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param operationStatus value to be set * @return Builder */ @@ -49,7 +49,7 @@ public ImportResponseBuilder operationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param operationStatus value to be set * @return Builder */ @@ -64,7 +64,7 @@ public ImportResponseBuilder plusOperationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param builder function to build the operationStatus value * @return Builder */ @@ -81,7 +81,7 @@ public ImportResponseBuilder plusOperationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param builder function to build the operationStatus value * @return Builder */ @@ -96,7 +96,7 @@ public ImportResponseBuilder withOperationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param builder function to build the operationStatus value * @return Builder */ @@ -108,7 +108,7 @@ public ImportResponseBuilder addOperationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @param builder function to build the operationStatus value * @return Builder */ @@ -120,7 +120,7 @@ public ImportResponseBuilder setOperationStatus( } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

* @return operationStatus */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java index f18317ac8f0..48b9387627b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ImportResponseImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The response of each resource import endpoint, such as Import Categories and Import ProductTypes.

+ *

The response of each Import Request.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportResponseImpl implements ImportResponse, ModelBase { @@ -40,7 +40,7 @@ public ImportResponseImpl() { } /** - *

A list of the ID's and validation statuses of new ImportOperations.

+ *

The identifiers and status of the ImportOperations created by the ImportRequest.

*/ public java.util.List getOperationStatus() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequest.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequest.java new file mode 100644 index 00000000000..2e00ccea0a2 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequest.java @@ -0,0 +1,146 @@ + +package com.commercetools.importapi.models.importrequests; + +import java.time.*; +import java.util.*; +import java.util.function.Function; +import java.util.stream.Collectors; + +import javax.annotation.Nullable; + +import com.commercetools.importapi.models.product_selections.ProductSelectionImport; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; + +/** + *

The request body to import Product Selections. Contains data for Product Selections to be created or updated in a Project.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionImportRequest productSelectionImportRequest = ProductSelectionImportRequest.builder()
+ *             .plusResources(resourcesBuilder -> resourcesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@io.vrap.rmf.base.client.utils.json.SubType("product-selection") +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = ProductSelectionImportRequestImpl.class) +public interface ProductSelectionImportRequest extends ImportRequest { + + /** + * discriminator value for ProductSelectionImportRequest + */ + String PRODUCT_SELECTION = "product-selection"; + + /** + *

The Product Selection import resources of this request.

+ * @return resources + */ + @NotNull + @Valid + @JsonProperty("resources") + public List getResources(); + + /** + *

The Product Selection import resources of this request.

+ * @param resources values to be set + */ + + @JsonIgnore + public void setResources(final ProductSelectionImport... resources); + + /** + *

The Product Selection import resources of this request.

+ * @param resources values to be set + */ + + public void setResources(final List resources); + + /** + * factory method + * @return instance of ProductSelectionImportRequest + */ + public static ProductSelectionImportRequest of() { + return new ProductSelectionImportRequestImpl(); + } + + /** + * factory method to create a shallow copy ProductSelectionImportRequest + * @param template instance to be copied + * @return copy instance + */ + public static ProductSelectionImportRequest of(final ProductSelectionImportRequest template) { + ProductSelectionImportRequestImpl instance = new ProductSelectionImportRequestImpl(); + instance.setResources(template.getResources()); + return instance; + } + + public ProductSelectionImportRequest copyDeep(); + + /** + * factory method to create a deep copy of ProductSelectionImportRequest + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static ProductSelectionImportRequest deepCopy(@Nullable final ProductSelectionImportRequest template) { + if (template == null) { + return null; + } + ProductSelectionImportRequestImpl instance = new ProductSelectionImportRequestImpl(); + instance.setResources(Optional.ofNullable(template.getResources()) + .map(t -> t.stream() + .map(com.commercetools.importapi.models.product_selections.ProductSelectionImport::deepCopy) + .collect(Collectors.toList())) + .orElse(null)); + return instance; + } + + /** + * builder factory method for ProductSelectionImportRequest + * @return builder + */ + public static ProductSelectionImportRequestBuilder builder() { + return ProductSelectionImportRequestBuilder.of(); + } + + /** + * create builder for ProductSelectionImportRequest instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionImportRequestBuilder builder(final ProductSelectionImportRequest template) { + return ProductSelectionImportRequestBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withProductSelectionImportRequest(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestBuilder.java new file mode 100644 index 00000000000..1dc1126d533 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestBuilder.java @@ -0,0 +1,167 @@ + +package com.commercetools.importapi.models.importrequests; + +import java.util.*; +import java.util.function.Function; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ProductSelectionImportRequestBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionImportRequest productSelectionImportRequest = ProductSelectionImportRequest.builder()
+ *             .plusResources(resourcesBuilder -> resourcesBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionImportRequestBuilder implements Builder { + + private java.util.List resources; + + /** + *

The Product Selection import resources of this request.

+ * @param resources value to be set + * @return Builder + */ + + public ProductSelectionImportRequestBuilder resources( + final com.commercetools.importapi.models.product_selections.ProductSelectionImport... resources) { + this.resources = new ArrayList<>(Arrays.asList(resources)); + return this; + } + + /** + *

The Product Selection import resources of this request.

+ * @param resources value to be set + * @return Builder + */ + + public ProductSelectionImportRequestBuilder resources( + final java.util.List resources) { + this.resources = resources; + return this; + } + + /** + *

The Product Selection import resources of this request.

+ * @param resources value to be set + * @return Builder + */ + + public ProductSelectionImportRequestBuilder plusResources( + final com.commercetools.importapi.models.product_selections.ProductSelectionImport... resources) { + if (this.resources == null) { + this.resources = new ArrayList<>(); + } + this.resources.addAll(Arrays.asList(resources)); + return this; + } + + /** + *

The Product Selection import resources of this request.

+ * @param builder function to build the resources value + * @return Builder + */ + + public ProductSelectionImportRequestBuilder plusResources( + Function builder) { + if (this.resources == null) { + this.resources = new ArrayList<>(); + } + this.resources.add( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionImportBuilder.of()) + .build()); + return this; + } + + /** + *

The Product Selection import resources of this request.

+ * @param builder function to build the resources value + * @return Builder + */ + + public ProductSelectionImportRequestBuilder withResources( + Function builder) { + this.resources = new ArrayList<>(); + this.resources.add( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionImportBuilder.of()) + .build()); + return this; + } + + /** + *

The Product Selection import resources of this request.

+ * @param builder function to build the resources value + * @return Builder + */ + + public ProductSelectionImportRequestBuilder addResources( + Function builder) { + return plusResources( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionImportBuilder.of())); + } + + /** + *

The Product Selection import resources of this request.

+ * @param builder function to build the resources value + * @return Builder + */ + + public ProductSelectionImportRequestBuilder setResources( + Function builder) { + return resources( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionImportBuilder.of())); + } + + /** + *

The Product Selection import resources of this request.

+ * @return resources + */ + + public java.util.List getResources() { + return this.resources; + } + + /** + * builds ProductSelectionImportRequest with checking for non-null required values + * @return ProductSelectionImportRequest + */ + public ProductSelectionImportRequest build() { + Objects.requireNonNull(resources, ProductSelectionImportRequest.class + ": resources is missing"); + return new ProductSelectionImportRequestImpl(resources); + } + + /** + * builds ProductSelectionImportRequest without checking for non-null required values + * @return ProductSelectionImportRequest + */ + public ProductSelectionImportRequest buildUnchecked() { + return new ProductSelectionImportRequestImpl(resources); + } + + /** + * factory method for an instance of ProductSelectionImportRequestBuilder + * @return builder + */ + public static ProductSelectionImportRequestBuilder of() { + return new ProductSelectionImportRequestBuilder(); + } + + /** + * create builder for ProductSelectionImportRequest instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionImportRequestBuilder of(final ProductSelectionImportRequest template) { + ProductSelectionImportRequestBuilder builder = new ProductSelectionImportRequestBuilder(); + builder.resources = template.getResources(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestImpl.java new file mode 100644 index 00000000000..672538f8910 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestImpl.java @@ -0,0 +1,106 @@ + +package com.commercetools.importapi.models.importrequests; + +import java.time.*; +import java.util.*; + +import com.commercetools.importapi.models.common.ImportResourceType; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *

The request body to import Product Selections. Contains data for Product Selections to be created or updated in a Project.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionImportRequestImpl implements ProductSelectionImportRequest, ModelBase { + + private com.commercetools.importapi.models.common.ImportResourceType type; + + private java.util.List resources; + + /** + * create instance with all properties + */ + @JsonCreator + ProductSelectionImportRequestImpl( + @JsonProperty("resources") final java.util.List resources) { + this.resources = resources; + this.type = ImportResourceType.findEnum("product-selection"); + } + + /** + * create empty instance + */ + public ProductSelectionImportRequestImpl() { + this.type = ImportResourceType.findEnum("product-selection"); + } + + /** + *

The resource types that can be imported.

+ */ + + public com.commercetools.importapi.models.common.ImportResourceType getType() { + return this.type; + } + + /** + *

The Product Selection import resources of this request.

+ */ + + public java.util.List getResources() { + return this.resources; + } + + public void setResources( + final com.commercetools.importapi.models.product_selections.ProductSelectionImport... resources) { + this.resources = new ArrayList<>(Arrays.asList(resources)); + } + + public void setResources( + final java.util.List resources) { + this.resources = resources; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ProductSelectionImportRequestImpl that = (ProductSelectionImportRequestImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(resources, that.resources) + .append(type, that.type) + .append(resources, that.resources) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(resources).toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("resources", resources) + .build(); + } + + @Override + public ProductSelectionImportRequest copyDeep() { + return ProductSelectionImportRequest.deepCopy(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummary.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummary.java index 2fff038c5f6..33834563076 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummary.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummary.java @@ -16,7 +16,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Describes the status of an ImportContainer by the number of resources in each ProcessingState. Can be used to monitor the import progress per Import Container.

+ *

The current status of ImportOperations in an ImportContainer.

* *
* Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ImportSummary { /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @return states */ @NotNull @@ -43,7 +43,7 @@ public interface ImportSummary { public OperationStates getStates(); /** - *

The total number of ImportOperations received for this Import Summary.

+ *

The total number of ImportOperations in states.

* @return total */ @NotNull @@ -51,14 +51,14 @@ public interface ImportSummary { public Long getTotal(); /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @param states value to be set */ public void setStates(final OperationStates states); /** - *

The total number of ImportOperations received for this Import Summary.

+ *

The total number of ImportOperations in states.

* @param total value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryBuilder.java index b8e91f2b500..155b5c50db1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryBuilder.java @@ -28,7 +28,7 @@ public class ImportSummaryBuilder implements Builder { private Long total; /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @param builder function to build the states value * @return Builder */ @@ -41,7 +41,7 @@ public ImportSummaryBuilder states( } /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @param builder function to build the states value * @return Builder */ @@ -53,7 +53,7 @@ public ImportSummaryBuilder withStates( } /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @param states value to be set * @return Builder */ @@ -65,7 +65,7 @@ public ImportSummaryBuilder states( } /** - *

The total number of ImportOperations received for this Import Summary.

+ *

The total number of ImportOperations in states.

* @param total value to be set * @return Builder */ @@ -76,7 +76,7 @@ public ImportSummaryBuilder total(final Long total) { } /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

* @return states */ @@ -85,7 +85,7 @@ public com.commercetools.importapi.models.importsummaries.OperationStates getSta } /** - *

The total number of ImportOperations received for this Import Summary.

+ *

The total number of ImportOperations in states.

* @return total */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java index 3cdffd9d214..905496b1a4d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/ImportSummaryImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Describes the status of an ImportContainer by the number of resources in each ProcessingState. Can be used to monitor the import progress per Import Container.

+ *

The current status of ImportOperations in an ImportContainer.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ImportSummaryImpl implements ImportSummary, ModelBase { @@ -44,7 +44,7 @@ public ImportSummaryImpl() { } /** - *

The import status of an ImportContainer given by the number of resources in each ProcessingState.

+ *

The current ProcessingStates of ImportOperations in an ImportContainer.

*/ public com.commercetools.importapi.models.importsummaries.OperationStates getStates() { @@ -52,7 +52,7 @@ public com.commercetools.importapi.models.importsummaries.OperationStates getSta } /** - *

The total number of ImportOperations received for this Import Summary.

+ *

The total number of ImportOperations in states.

*/ public Long getTotal() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStates.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStates.java index 756640f2d22..f33e7930d11 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStates.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStates.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The number of resources in each ProcessingState.

+ *

The number of ImportOperations in each ProcessingState.

* *
* Example to create an instance using the builder pattern @@ -38,7 +38,7 @@ public interface OperationStates { /** - *

The number of resources in the processing state.

+ *

The number of ImportOperations in the processing state.

* @return processing */ @NotNull @@ -46,7 +46,7 @@ public interface OperationStates { public Long getProcessing(); /** - *

The number of resources in the validationFailed state.

+ *

The number of ImportOperations in the validationFailed state.

* @return validationFailed */ @NotNull @@ -54,7 +54,7 @@ public interface OperationStates { public Long getValidationFailed(); /** - *

The number of resources in the unresolved state.

+ *

The number of ImportOperations in the unresolved state.

* @return unresolved */ @NotNull @@ -62,7 +62,7 @@ public interface OperationStates { public Long getUnresolved(); /** - *

The number of resources in the waitForMasterVariant state.

+ *

The number of ImportOperations in the waitForMasterVariant state.

* @return waitForMasterVariant */ @NotNull @@ -70,7 +70,7 @@ public interface OperationStates { public Long getWaitForMasterVariant(); /** - *

The number of resources in the imported state.

+ *

The number of ImportOperations in the imported state.

* @return imported */ @NotNull @@ -78,7 +78,7 @@ public interface OperationStates { public Long getImported(); /** - *

The number of resources in the rejected state.

+ *

The number of ImportOperations in the rejected state.

* @return rejected */ @NotNull @@ -86,7 +86,7 @@ public interface OperationStates { public Long getRejected(); /** - *

The number of resources in the canceled state.

+ *

The number of ImportOperations in the canceled state.

* @return canceled */ @NotNull @@ -94,49 +94,49 @@ public interface OperationStates { public Long getCanceled(); /** - *

The number of resources in the processing state.

+ *

The number of ImportOperations in the processing state.

* @param processing value to be set */ public void setProcessing(final Long processing); /** - *

The number of resources in the validationFailed state.

+ *

The number of ImportOperations in the validationFailed state.

* @param validationFailed value to be set */ public void setValidationFailed(final Long validationFailed); /** - *

The number of resources in the unresolved state.

+ *

The number of ImportOperations in the unresolved state.

* @param unresolved value to be set */ public void setUnresolved(final Long unresolved); /** - *

The number of resources in the waitForMasterVariant state.

+ *

The number of ImportOperations in the waitForMasterVariant state.

* @param waitForMasterVariant value to be set */ public void setWaitForMasterVariant(final Long waitForMasterVariant); /** - *

The number of resources in the imported state.

+ *

The number of ImportOperations in the imported state.

* @param imported value to be set */ public void setImported(final Long imported); /** - *

The number of resources in the rejected state.

+ *

The number of ImportOperations in the rejected state.

* @param rejected value to be set */ public void setRejected(final Long rejected); /** - *

The number of resources in the canceled state.

+ *

The number of ImportOperations in the canceled state.

* @param canceled value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesBuilder.java index 897fbd99720..868cb5ab597 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesBuilder.java @@ -42,7 +42,7 @@ public class OperationStatesBuilder implements Builder { private Long canceled; /** - *

The number of resources in the processing state.

+ *

The number of ImportOperations in the processing state.

* @param processing value to be set * @return Builder */ @@ -53,7 +53,7 @@ public OperationStatesBuilder processing(final Long processing) { } /** - *

The number of resources in the validationFailed state.

+ *

The number of ImportOperations in the validationFailed state.

* @param validationFailed value to be set * @return Builder */ @@ -64,7 +64,7 @@ public OperationStatesBuilder validationFailed(final Long validationFailed) { } /** - *

The number of resources in the unresolved state.

+ *

The number of ImportOperations in the unresolved state.

* @param unresolved value to be set * @return Builder */ @@ -75,7 +75,7 @@ public OperationStatesBuilder unresolved(final Long unresolved) { } /** - *

The number of resources in the waitForMasterVariant state.

+ *

The number of ImportOperations in the waitForMasterVariant state.

* @param waitForMasterVariant value to be set * @return Builder */ @@ -86,7 +86,7 @@ public OperationStatesBuilder waitForMasterVariant(final Long waitForMasterVaria } /** - *

The number of resources in the imported state.

+ *

The number of ImportOperations in the imported state.

* @param imported value to be set * @return Builder */ @@ -97,7 +97,7 @@ public OperationStatesBuilder imported(final Long imported) { } /** - *

The number of resources in the rejected state.

+ *

The number of ImportOperations in the rejected state.

* @param rejected value to be set * @return Builder */ @@ -108,7 +108,7 @@ public OperationStatesBuilder rejected(final Long rejected) { } /** - *

The number of resources in the canceled state.

+ *

The number of ImportOperations in the canceled state.

* @param canceled value to be set * @return Builder */ @@ -119,7 +119,7 @@ public OperationStatesBuilder canceled(final Long canceled) { } /** - *

The number of resources in the processing state.

+ *

The number of ImportOperations in the processing state.

* @return processing */ @@ -128,7 +128,7 @@ public Long getProcessing() { } /** - *

The number of resources in the validationFailed state.

+ *

The number of ImportOperations in the validationFailed state.

* @return validationFailed */ @@ -137,7 +137,7 @@ public Long getValidationFailed() { } /** - *

The number of resources in the unresolved state.

+ *

The number of ImportOperations in the unresolved state.

* @return unresolved */ @@ -146,7 +146,7 @@ public Long getUnresolved() { } /** - *

The number of resources in the waitForMasterVariant state.

+ *

The number of ImportOperations in the waitForMasterVariant state.

* @return waitForMasterVariant */ @@ -155,7 +155,7 @@ public Long getWaitForMasterVariant() { } /** - *

The number of resources in the imported state.

+ *

The number of ImportOperations in the imported state.

* @return imported */ @@ -164,7 +164,7 @@ public Long getImported() { } /** - *

The number of resources in the rejected state.

+ *

The number of ImportOperations in the rejected state.

* @return rejected */ @@ -173,7 +173,7 @@ public Long getRejected() { } /** - *

The number of resources in the canceled state.

+ *

The number of ImportOperations in the canceled state.

* @return canceled */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java index 0ff97cec4b8..76bba0c7efd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/importsummaries/OperationStatesImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The number of resources in each ProcessingState.

+ *

The number of ImportOperations in each ProcessingState.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OperationStatesImpl implements OperationStates, ModelBase { @@ -62,7 +62,7 @@ public OperationStatesImpl() { } /** - *

The number of resources in the processing state.

+ *

The number of ImportOperations in the processing state.

*/ public Long getProcessing() { @@ -70,7 +70,7 @@ public Long getProcessing() { } /** - *

The number of resources in the validationFailed state.

+ *

The number of ImportOperations in the validationFailed state.

*/ public Long getValidationFailed() { @@ -78,7 +78,7 @@ public Long getValidationFailed() { } /** - *

The number of resources in the unresolved state.

+ *

The number of ImportOperations in the unresolved state.

*/ public Long getUnresolved() { @@ -86,7 +86,7 @@ public Long getUnresolved() { } /** - *

The number of resources in the waitForMasterVariant state.

+ *

The number of ImportOperations in the waitForMasterVariant state.

*/ public Long getWaitForMasterVariant() { @@ -94,7 +94,7 @@ public Long getWaitForMasterVariant() { } /** - *

The number of resources in the imported state.

+ *

The number of ImportOperations in the imported state.

*/ public Long getImported() { @@ -102,7 +102,7 @@ public Long getImported() { } /** - *

The number of resources in the rejected state.

+ *

The number of ImportOperations in the rejected state.

*/ public Long getRejected() { @@ -110,7 +110,7 @@ public Long getRejected() { } /** - *

The number of resources in the canceled state.

+ *

The number of ImportOperations in the canceled state.

*/ public Long getCanceled() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImport.java index fde2d7e5ad4..e99b21c1ea3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImport.java @@ -20,7 +20,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for an Inventory to be imported that is persisted as a Inventory in the Project.

+ *

Represents the data used to import an InventoryEntry. Once imported, this data is persisted as a InventoryEntry in the Project.

* *
* Example to create an instance using the builder pattern @@ -39,7 +39,7 @@ public interface InventoryImport extends ImportResource { /** - *

User-defined unique identifier. If an InventoryEntry with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -47,7 +47,7 @@ public interface InventoryImport extends ImportResource { public String getKey(); /** - *

Maps to Inventory.sku

+ *

Maps to InventoryEntry.sku

* @return sku */ @NotNull @@ -55,7 +55,7 @@ public interface InventoryImport extends ImportResource { public String getSku(); /** - *

Maps to Inventory.quantityOnStock

+ *

Maps to InventoryEntry.quantityOnStock

* @return quantityOnStock */ @NotNull @@ -63,7 +63,7 @@ public interface InventoryImport extends ImportResource { public Long getQuantityOnStock(); /** - *

Maps to Inventory.restockableInDays

+ *

Maps to InventoryEntry.restockableInDays

* @return restockableInDays */ @@ -71,7 +71,7 @@ public interface InventoryImport extends ImportResource { public Long getRestockableInDays(); /** - *

Maps to Inventory.expectedDelivery

+ *

Maps to InventoryEntry.expectedDelivery

* @return expectedDelivery */ @@ -79,7 +79,7 @@ public interface InventoryImport extends ImportResource { public ZonedDateTime getExpectedDelivery(); /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return supplyChannel */ @Valid @@ -87,7 +87,7 @@ public interface InventoryImport extends ImportResource { public ChannelKeyReference getSupplyChannel(); /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @return custom */ @Valid @@ -95,49 +95,49 @@ public interface InventoryImport extends ImportResource { public Custom getCustom(); /** - *

User-defined unique identifier. If an InventoryEntry with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

* @param key value to be set */ public void setKey(final String key); /** - *

Maps to Inventory.sku

+ *

Maps to InventoryEntry.sku

* @param sku value to be set */ public void setSku(final String sku); /** - *

Maps to Inventory.quantityOnStock

+ *

Maps to InventoryEntry.quantityOnStock

* @param quantityOnStock value to be set */ public void setQuantityOnStock(final Long quantityOnStock); /** - *

Maps to Inventory.restockableInDays

+ *

Maps to InventoryEntry.restockableInDays

* @param restockableInDays value to be set */ public void setRestockableInDays(final Long restockableInDays); /** - *

Maps to Inventory.expectedDelivery

+ *

Maps to InventoryEntry.expectedDelivery

* @param expectedDelivery value to be set */ public void setExpectedDelivery(final ZonedDateTime expectedDelivery); /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param supplyChannel value to be set */ public void setSupplyChannel(final ChannelKeyReference supplyChannel); /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportBuilder.java index 957c1da94ff..038d889dc76 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportBuilder.java @@ -45,7 +45,7 @@ public class InventoryImportBuilder implements Builder { private com.commercetools.importapi.models.customfields.Custom custom; /** - *

User-defined unique identifier. If an InventoryEntry with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -56,7 +56,7 @@ public InventoryImportBuilder key(final String key) { } /** - *

Maps to Inventory.sku

+ *

Maps to InventoryEntry.sku

* @param sku value to be set * @return Builder */ @@ -67,7 +67,7 @@ public InventoryImportBuilder sku(final String sku) { } /** - *

Maps to Inventory.quantityOnStock

+ *

Maps to InventoryEntry.quantityOnStock

* @param quantityOnStock value to be set * @return Builder */ @@ -78,7 +78,7 @@ public InventoryImportBuilder quantityOnStock(final Long quantityOnStock) { } /** - *

Maps to Inventory.restockableInDays

+ *

Maps to InventoryEntry.restockableInDays

* @param restockableInDays value to be set * @return Builder */ @@ -89,7 +89,7 @@ public InventoryImportBuilder restockableInDays(@Nullable final Long restockable } /** - *

Maps to Inventory.expectedDelivery

+ *

Maps to InventoryEntry.expectedDelivery

* @param expectedDelivery value to be set * @return Builder */ @@ -100,7 +100,7 @@ public InventoryImportBuilder expectedDelivery(@Nullable final java.time.ZonedDa } /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the supplyChannel value * @return Builder */ @@ -113,7 +113,7 @@ public InventoryImportBuilder supplyChannel( } /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the supplyChannel value * @return Builder */ @@ -125,7 +125,7 @@ public InventoryImportBuilder withSupplyChannel( } /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param supplyChannel value to be set * @return Builder */ @@ -137,7 +137,7 @@ public InventoryImportBuilder supplyChannel( } /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @param builder function to build the custom value * @return Builder */ @@ -149,7 +149,7 @@ public InventoryImportBuilder custom( } /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @param builder function to build the custom value * @return Builder */ @@ -161,7 +161,7 @@ public InventoryImportBuilder withCustom( } /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @param custom value to be set * @return Builder */ @@ -173,7 +173,7 @@ public InventoryImportBuilder custom( } /** - *

User-defined unique identifier. If an InventoryEntry with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

* @return key */ @@ -182,7 +182,7 @@ public String getKey() { } /** - *

Maps to Inventory.sku

+ *

Maps to InventoryEntry.sku

* @return sku */ @@ -191,7 +191,7 @@ public String getSku() { } /** - *

Maps to Inventory.quantityOnStock

+ *

Maps to InventoryEntry.quantityOnStock

* @return quantityOnStock */ @@ -200,7 +200,7 @@ public Long getQuantityOnStock() { } /** - *

Maps to Inventory.restockableInDays

+ *

Maps to InventoryEntry.restockableInDays

* @return restockableInDays */ @@ -210,7 +210,7 @@ public Long getRestockableInDays() { } /** - *

Maps to Inventory.expectedDelivery

+ *

Maps to InventoryEntry.expectedDelivery

* @return expectedDelivery */ @@ -220,7 +220,7 @@ public java.time.ZonedDateTime getExpectedDelivery() { } /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return supplyChannel */ @@ -230,7 +230,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyCh } /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java index 601d687da8b..fb563aba72a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/inventories/InventoryImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for an Inventory to be imported that is persisted as a Inventory in the Project.

+ *

Represents the data used to import an InventoryEntry. Once imported, this data is persisted as a InventoryEntry in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class InventoryImportImpl implements InventoryImport, ModelBase { @@ -62,7 +62,7 @@ public InventoryImportImpl() { } /** - *

User-defined unique identifier. If an InventoryEntry with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If an InventoryEntry with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -70,7 +70,7 @@ public String getKey() { } /** - *

Maps to Inventory.sku

+ *

Maps to InventoryEntry.sku

*/ public String getSku() { @@ -78,7 +78,7 @@ public String getSku() { } /** - *

Maps to Inventory.quantityOnStock

+ *

Maps to InventoryEntry.quantityOnStock

*/ public Long getQuantityOnStock() { @@ -86,7 +86,7 @@ public Long getQuantityOnStock() { } /** - *

Maps to Inventory.restockableInDays

+ *

Maps to InventoryEntry.restockableInDays

*/ public Long getRestockableInDays() { @@ -94,7 +94,7 @@ public Long getRestockableInDays() { } /** - *

Maps to Inventory.expectedDelivery

+ *

Maps to InventoryEntry.expectedDelivery

*/ public java.time.ZonedDateTime getExpectedDelivery() { @@ -102,7 +102,7 @@ public java.time.ZonedDateTime getExpectedDelivery() { } /** - *

Maps to Inventory.supplyChannel

+ *

Maps to InventoryEntry.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyChannel() { @@ -110,7 +110,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyCh } /** - *

Maps to Inventory.custom.

+ *

Maps to InventoryEntry.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraft.java index 8a0bc013e5c..f5f3aeab531 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraft.java @@ -34,7 +34,7 @@ public interface DeliveryAddressDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Unique identifier of the Delivery.

* @return deliveryId */ @NotNull @@ -42,7 +42,7 @@ public interface DeliveryAddressDraft extends io.vrap.rmf.base.client.DraftAddress to which Parcels are delivered.

* @return address */ @Valid @@ -50,14 +50,14 @@ public interface DeliveryAddressDraft extends io.vrap.rmf.base.client.DraftUnique identifier of the Delivery.

* @param deliveryId value to be set */ public void setDeliveryId(final String deliveryId); /** - * set address + *

Address to which Parcels are delivered.

* @param address value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftBuilder.java index a928a84c2e1..c0191d21c9f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftBuilder.java @@ -30,7 +30,7 @@ public class DeliveryAddressDraftBuilder implements BuilderUnique identifier of the Delivery.

* @param deliveryId value to be set * @return Builder */ @@ -41,7 +41,7 @@ public DeliveryAddressDraftBuilder deliveryId(final String deliveryId) { } /** - * set the value to the address using the builder function + *

Address to which Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -53,7 +53,7 @@ public DeliveryAddressDraftBuilder address( } /** - * set the value to the address using the builder function + *

Address to which Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -65,7 +65,7 @@ public DeliveryAddressDraftBuilder withAddress( } /** - * set the value to the address + *

Address to which Parcels are delivered.

* @param address value to be set * @return Builder */ @@ -77,7 +77,7 @@ public DeliveryAddressDraftBuilder address( } /** - * value of deliveryId} + *

Unique identifier of the Delivery.

* @return deliveryId */ @@ -86,7 +86,7 @@ public String getDeliveryId() { } /** - * value of address} + *

Address to which Parcels are delivered.

* @return address */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java index aac0588594c..9132b832c43 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryAddressDraftImpl.java @@ -43,7 +43,7 @@ public DeliveryAddressDraftImpl() { } /** - * + *

Unique identifier of the Delivery.

*/ public String getDeliveryId() { @@ -51,7 +51,7 @@ public String getDeliveryId() { } /** - * + *

Address to which Parcels are delivered.

*/ public com.commercetools.importapi.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraft.java index 836eb41079b..ac149a405f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraft.java @@ -37,7 +37,7 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @return items */ @NotNull @@ -46,7 +46,7 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.Draft getItems(); /** - * + *

Address to which the Parcels are delivered.

* @return address */ @Valid @@ -54,7 +54,7 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.DraftInformation regarding the appearance, content, and shipment of a parcel.

* @return parcels */ @NotNull @@ -63,7 +63,7 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.Draft getParcels(); /** - * set items + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param items values to be set */ @@ -71,21 +71,21 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.DraftLine Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param items values to be set */ public void setItems(final List items); /** - * set address + *

Address to which the Parcels are delivered.

* @param address value to be set */ public void setAddress(final Address address); /** - * set parcels + *

Information regarding the appearance, content, and shipment of a parcel.

* @param parcels values to be set */ @@ -93,7 +93,7 @@ public interface DeliveryDraft extends io.vrap.rmf.base.client.DraftInformation regarding the appearance, content, and shipment of a parcel.

* @param parcels values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftBuilder.java index b97d9370a65..6dac80d7736 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftBuilder.java @@ -33,7 +33,7 @@ public class DeliveryDraftBuilder implements Builder { private java.util.List parcels; /** - * set values to the items + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param items value to be set * @return Builder */ @@ -44,7 +44,7 @@ public DeliveryDraftBuilder items(final com.commercetools.importapi.models.order } /** - * set value to the items + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param items value to be set * @return Builder */ @@ -56,7 +56,7 @@ public DeliveryDraftBuilder items( } /** - * add values to the items + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param items value to be set * @return Builder */ @@ -70,7 +70,7 @@ public DeliveryDraftBuilder plusItems(final com.commercetools.importapi.models.o } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param builder function to build the items value * @return Builder */ @@ -85,7 +85,7 @@ public DeliveryDraftBuilder plusItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param builder function to build the items value * @return Builder */ @@ -98,7 +98,7 @@ public DeliveryDraftBuilder withItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param builder function to build the items value * @return Builder */ @@ -109,7 +109,7 @@ public DeliveryDraftBuilder addItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @param builder function to build the items value * @return Builder */ @@ -120,7 +120,7 @@ public DeliveryDraftBuilder setItems( } /** - * set the value to the address using the builder function + *

Address to which the Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -132,7 +132,7 @@ public DeliveryDraftBuilder address( } /** - * set the value to the address using the builder function + *

Address to which the Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -144,7 +144,7 @@ public DeliveryDraftBuilder withAddress( } /** - * set the value to the address + *

Address to which the Parcels are delivered.

* @param address value to be set * @return Builder */ @@ -155,7 +155,7 @@ public DeliveryDraftBuilder address(@Nullable final com.commercetools.importapi. } /** - * set values to the parcels + *

Information regarding the appearance, content, and shipment of a parcel.

* @param parcels value to be set * @return Builder */ @@ -167,7 +167,7 @@ public DeliveryDraftBuilder parcels( } /** - * set value to the parcels + *

Information regarding the appearance, content, and shipment of a parcel.

* @param parcels value to be set * @return Builder */ @@ -179,7 +179,7 @@ public DeliveryDraftBuilder parcels( } /** - * add values to the parcels + *

Information regarding the appearance, content, and shipment of a parcel.

* @param parcels value to be set * @return Builder */ @@ -194,7 +194,7 @@ public DeliveryDraftBuilder plusParcels( } /** - * add the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -210,7 +210,7 @@ public DeliveryDraftBuilder plusParcels( } /** - * set the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -224,7 +224,7 @@ public DeliveryDraftBuilder withParcels( } /** - * add the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -236,7 +236,7 @@ public DeliveryDraftBuilder addParcels( } /** - * set the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -247,7 +247,7 @@ public DeliveryDraftBuilder setParcels( } /** - * value of items} + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

* @return items */ @@ -256,7 +256,7 @@ public java.util.List ge } /** - * value of address} + *

Address to which the Parcels are delivered.

* @return address */ @@ -266,7 +266,7 @@ public com.commercetools.importapi.models.common.Address getAddress() { } /** - * value of parcels} + *

Information regarding the appearance, content, and shipment of a parcel.

* @return parcels */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java index 614610e6c94..245dd5f662c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryDraftImpl.java @@ -48,7 +48,7 @@ public DeliveryDraftImpl() { } /** - * + *

Line Items or Custom Line Items to deliver. It can also be specified individually for each Parcel.

*/ public java.util.List getItems() { @@ -56,7 +56,7 @@ public java.util.List ge } /** - * + *

Address to which the Parcels are delivered.

*/ public com.commercetools.importapi.models.common.Address getAddress() { @@ -64,7 +64,7 @@ public com.commercetools.importapi.models.common.Address getAddress() { } /** - * + *

Information regarding the appearance, content, and shipment of a parcel.

*/ public java.util.List getParcels() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcel.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcel.java index 4c8da038c61..2ca47734385 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcel.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcel.java @@ -37,7 +37,7 @@ public interface DeliveryParcel { /** - * + *

Unique identifier of the Delivery.

* @return deliveryId */ @NotNull @@ -45,7 +45,7 @@ public interface DeliveryParcel { public String getDeliveryId(); /** - * + *

Information about the dimensions of the Parcel.

* @return measurements */ @Valid @@ -53,7 +53,7 @@ public interface DeliveryParcel { public ParcelMeasurements getMeasurements(); /** - * + *

Shipment tracking information of the Parcel.

* @return trackingData */ @Valid @@ -61,7 +61,7 @@ public interface DeliveryParcel { public TrackingData getTrackingData(); /** - * + *

Line Items or Custom Line Items delivered in this Parcel.

* @return items */ @Valid @@ -69,28 +69,28 @@ public interface DeliveryParcel { public List getItems(); /** - * set deliveryId + *

Unique identifier of the Delivery.

* @param deliveryId value to be set */ public void setDeliveryId(final String deliveryId); /** - * set measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set */ public void setMeasurements(final ParcelMeasurements measurements); /** - * set trackingData + *

Shipment tracking information of the Parcel.

* @param trackingData value to be set */ public void setTrackingData(final TrackingData trackingData); /** - * set items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ @@ -98,7 +98,7 @@ public interface DeliveryParcel { public void setItems(final DeliveryItem... items); /** - * set items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelBuilder.java index 27eb96622e6..e1dda286b7c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelBuilder.java @@ -36,7 +36,7 @@ public class DeliveryParcelBuilder implements Builder { private java.util.List items; /** - * set the value to the deliveryId + *

Unique identifier of the Delivery.

* @param deliveryId value to be set * @return Builder */ @@ -47,7 +47,7 @@ public DeliveryParcelBuilder deliveryId(final String deliveryId) { } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -60,7 +60,7 @@ public DeliveryParcelBuilder measurements( } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -72,7 +72,7 @@ public DeliveryParcelBuilder withMeasurements( } /** - * set the value to the measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set * @return Builder */ @@ -84,7 +84,7 @@ public DeliveryParcelBuilder measurements( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information of the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -96,7 +96,7 @@ public DeliveryParcelBuilder trackingData( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information of the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -108,7 +108,7 @@ public DeliveryParcelBuilder withTrackingData( } /** - * set the value to the trackingData + *

Shipment tracking information of the Parcel.

* @param trackingData value to be set * @return Builder */ @@ -120,7 +120,7 @@ public DeliveryParcelBuilder trackingData( } /** - * set values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -132,7 +132,7 @@ public DeliveryParcelBuilder items( } /** - * set value to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -144,7 +144,7 @@ public DeliveryParcelBuilder items( } /** - * add values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -159,7 +159,7 @@ public DeliveryParcelBuilder plusItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -174,7 +174,7 @@ public DeliveryParcelBuilder plusItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -187,7 +187,7 @@ public DeliveryParcelBuilder withItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -198,7 +198,7 @@ public DeliveryParcelBuilder addItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -209,7 +209,7 @@ public DeliveryParcelBuilder setItems( } /** - * value of deliveryId} + *

Unique identifier of the Delivery.

* @return deliveryId */ @@ -218,7 +218,7 @@ public String getDeliveryId() { } /** - * value of measurements} + *

Information about the dimensions of the Parcel.

* @return measurements */ @@ -228,7 +228,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * value of trackingData} + *

Shipment tracking information of the Parcel.

* @return trackingData */ @@ -238,7 +238,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * value of items} + *

Line Items or Custom Line Items delivered in this Parcel.

* @return items */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraft.java index 8f248e582af..6fe3e7d1899 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraft.java @@ -35,7 +35,7 @@ public interface DeliveryParcelDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Information about the dimensions for the Parcel.

* @return measurements */ @Valid @@ -43,7 +43,7 @@ public interface DeliveryParcelDraft extends io.vrap.rmf.base.client.DraftShipment tracking information for the Parcel.

* @return trackingData */ @Valid @@ -51,7 +51,7 @@ public interface DeliveryParcelDraft extends io.vrap.rmf.base.client.DraftLine Items or Custom Line Items delivered in this Parcel.

* @return items */ @Valid @@ -59,21 +59,21 @@ public interface DeliveryParcelDraft extends io.vrap.rmf.base.client.Draft getItems(); /** - * set measurements + *

Information about the dimensions for the Parcel.

* @param measurements value to be set */ public void setMeasurements(final ParcelMeasurements measurements); /** - * set trackingData + *

Shipment tracking information for the Parcel.

* @param trackingData value to be set */ public void setTrackingData(final TrackingData trackingData); /** - * set items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ @@ -81,7 +81,7 @@ public interface DeliveryParcelDraft extends io.vrap.rmf.base.client.DraftLine Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftBuilder.java index 5c505eae4fc..cf289761166 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftBuilder.java @@ -33,7 +33,7 @@ public class DeliveryParcelDraftBuilder implements Builder private java.util.List items; /** - * set the value to the measurements using the builder function + *

Information about the dimensions for the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -46,7 +46,7 @@ public DeliveryParcelDraftBuilder measurements( } /** - * set the value to the measurements using the builder function + *

Information about the dimensions for the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -58,7 +58,7 @@ public DeliveryParcelDraftBuilder withMeasurements( } /** - * set the value to the measurements + *

Information about the dimensions for the Parcel.

* @param measurements value to be set * @return Builder */ @@ -70,7 +70,7 @@ public DeliveryParcelDraftBuilder measurements( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information for the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -82,7 +82,7 @@ public DeliveryParcelDraftBuilder trackingData( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information for the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -94,7 +94,7 @@ public DeliveryParcelDraftBuilder withTrackingData( } /** - * set the value to the trackingData + *

Shipment tracking information for the Parcel.

* @param trackingData value to be set * @return Builder */ @@ -106,7 +106,7 @@ public DeliveryParcelDraftBuilder trackingData( } /** - * set values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -118,7 +118,7 @@ public DeliveryParcelDraftBuilder items( } /** - * set value to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -130,7 +130,7 @@ public DeliveryParcelDraftBuilder items( } /** - * add values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -145,7 +145,7 @@ public DeliveryParcelDraftBuilder plusItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -160,7 +160,7 @@ public DeliveryParcelDraftBuilder plusItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -173,7 +173,7 @@ public DeliveryParcelDraftBuilder withItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -184,7 +184,7 @@ public DeliveryParcelDraftBuilder addItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -195,7 +195,7 @@ public DeliveryParcelDraftBuilder setItems( } /** - * value of measurements} + *

Information about the dimensions for the Parcel.

* @return measurements */ @@ -205,7 +205,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * value of trackingData} + *

Shipment tracking information for the Parcel.

* @return trackingData */ @@ -215,7 +215,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * value of items} + *

Line Items or Custom Line Items delivered in this Parcel.

* @return items */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java index 38e9ee7a796..d896e88e1f4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelDraftImpl.java @@ -48,7 +48,7 @@ public DeliveryParcelDraftImpl() { } /** - * + *

Information about the dimensions for the Parcel.

*/ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasurements() { @@ -56,7 +56,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * + *

Shipment tracking information for the Parcel.

*/ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() { @@ -64,7 +64,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * + *

Line Items or Custom Line Items delivered in this Parcel.

*/ public java.util.List getItems() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java index 070337bd0f9..30d9dc3796d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/DeliveryParcelImpl.java @@ -51,7 +51,7 @@ public DeliveryParcelImpl() { } /** - * + *

Unique identifier of the Delivery.

*/ public String getDeliveryId() { @@ -59,7 +59,7 @@ public String getDeliveryId() { } /** - * + *

Information about the dimensions of the Parcel.

*/ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasurements() { @@ -67,7 +67,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * + *

Shipment tracking information of the Parcel.

*/ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() { @@ -75,7 +75,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * + *

Line Items or Custom Line Items delivered in this Parcel.

*/ public java.util.List getItems() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImport.java index a8fda98c805..0b17c89d0e0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImport.java @@ -16,7 +16,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Representation for an update of an Order. Use this type to import updates for existing Orders in a Project.

+ *

Represents the data used to update an Order in a Project.

* *
* Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface OrderPatchImport { /** - *

Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

+ *

User-defined unique identifier. If an Order with this orderNumber exists, it is updated with the imported data.

* @return orderNumber */ @NotNull @@ -42,7 +42,7 @@ public interface OrderPatchImport { public String getOrderNumber(); /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @return fields */ @NotNull @@ -51,14 +51,14 @@ public interface OrderPatchImport { public OrderField getFields(); /** - *

Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

+ *

User-defined unique identifier. If an Order with this orderNumber exists, it is updated with the imported data.

* @param orderNumber value to be set */ public void setOrderNumber(final String orderNumber); /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @param fields value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportBuilder.java index 027053a1215..3c441a9393d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportBuilder.java @@ -28,7 +28,7 @@ public class OrderPatchImportBuilder implements Builder { private com.commercetools.importapi.models.order_patches.OrderField fields; /** - *

Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

+ *

User-defined unique identifier. If an Order with this orderNumber exists, it is updated with the imported data.

* @param orderNumber value to be set * @return Builder */ @@ -39,7 +39,7 @@ public OrderPatchImportBuilder orderNumber(final String orderNumber) { } /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @param builder function to build the fields value * @return Builder */ @@ -51,7 +51,7 @@ public OrderPatchImportBuilder fields( } /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @param builder function to build the fields value * @return Builder */ @@ -63,7 +63,7 @@ public OrderPatchImportBuilder withFields( } /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @param fields value to be set * @return Builder */ @@ -74,7 +74,7 @@ public OrderPatchImportBuilder fields(final com.commercetools.importapi.models.o } /** - *

Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

+ *

User-defined unique identifier. If an Order with this orderNumber exists, it is updated with the imported data.

* @return orderNumber */ @@ -83,7 +83,7 @@ public String getOrderNumber() { } /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

* @return fields */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java index 1e0bde8e810..bf8f121a66c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/OrderPatchImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Representation for an update of an Order. Use this type to import updates for existing Orders in a Project.

+ *

Represents the data used to update an Order in a Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class OrderPatchImportImpl implements OrderPatchImport, ModelBase { @@ -43,7 +43,7 @@ public OrderPatchImportImpl() { } /** - *

Maps to Order.orderNumber, String that uniquely identifies an order, unique across a project.

+ *

User-defined unique identifier. If an Order with this orderNumber exists, it is updated with the imported data.

*/ public String getOrderNumber() { @@ -51,7 +51,7 @@ public String getOrderNumber() { } /** - *

Each field referenced must be defined in an already existing order in the project or the import operation state is set to validationFailed.

+ *

Each field referenced must be defined in an existing Order or the ImportOperationState is set to validationFailed.

*/ public com.commercetools.importapi.models.order_patches.OrderField getFields() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItems.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItems.java index f8563d87bfc..39486dd77b9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItems.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItems.java @@ -35,7 +35,7 @@ public interface ParcelItems { /** - * + *

id of an existing Parcel.

* @return parcelId */ @NotNull @@ -43,7 +43,7 @@ public interface ParcelItems { public String getParcelId(); /** - * + *

Items in the Parcel.

* @return items */ @Valid @@ -51,14 +51,14 @@ public interface ParcelItems { public List getItems(); /** - * set parcelId + *

id of an existing Parcel.

* @param parcelId value to be set */ public void setParcelId(final String parcelId); /** - * set items + *

Items in the Parcel.

* @param items values to be set */ @@ -66,7 +66,7 @@ public interface ParcelItems { public void setItems(final DeliveryItem... items); /** - * set items + *

Items in the Parcel.

* @param items values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsBuilder.java index 75878185ff9..b9c9abd677e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsBuilder.java @@ -30,7 +30,7 @@ public class ParcelItemsBuilder implements Builder { private java.util.List items; /** - * set the value to the parcelId + *

id of an existing Parcel.

* @param parcelId value to be set * @return Builder */ @@ -41,7 +41,7 @@ public ParcelItemsBuilder parcelId(final String parcelId) { } /** - * set values to the items + *

Items in the Parcel.

* @param items value to be set * @return Builder */ @@ -52,7 +52,7 @@ public ParcelItemsBuilder items(@Nullable final com.commercetools.importapi.mode } /** - * set value to the items + *

Items in the Parcel.

* @param items value to be set * @return Builder */ @@ -64,7 +64,7 @@ public ParcelItemsBuilder items( } /** - * add values to the items + *

Items in the Parcel.

* @param items value to be set * @return Builder */ @@ -79,7 +79,7 @@ public ParcelItemsBuilder plusItems( } /** - * add the value to the items using the builder function + *

Items in the Parcel.

* @param builder function to build the items value * @return Builder */ @@ -94,7 +94,7 @@ public ParcelItemsBuilder plusItems( } /** - * set the value to the items using the builder function + *

Items in the Parcel.

* @param builder function to build the items value * @return Builder */ @@ -107,7 +107,7 @@ public ParcelItemsBuilder withItems( } /** - * add the value to the items using the builder function + *

Items in the Parcel.

* @param builder function to build the items value * @return Builder */ @@ -118,7 +118,7 @@ public ParcelItemsBuilder addItems( } /** - * set the value to the items using the builder function + *

Items in the Parcel.

* @param builder function to build the items value * @return Builder */ @@ -129,7 +129,7 @@ public ParcelItemsBuilder setItems( } /** - * value of parcelId} + *

id of an existing Parcel.

* @return parcelId */ @@ -138,7 +138,7 @@ public String getParcelId() { } /** - * value of items} + *

Items in the Parcel.

* @return items */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java index 79854c8ebc2..6cbd1f0c836 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelItemsImpl.java @@ -43,7 +43,7 @@ public ParcelItemsImpl() { } /** - * + *

id of an existing Parcel.

*/ public String getParcelId() { @@ -51,7 +51,7 @@ public String getParcelId() { } /** - * + *

Items in the Parcel.

*/ public java.util.List getItems() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraft.java index 8594ace17af..75789357194 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraft.java @@ -34,7 +34,7 @@ public interface ParcelMeasurementDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

id of an existing Parcel.

* @return parcelId */ @NotNull @@ -42,7 +42,7 @@ public interface ParcelMeasurementDraft extends io.vrap.rmf.base.client.DraftInformation about the dimensions of the Parcel.

* @return measurements */ @Valid @@ -50,14 +50,14 @@ public interface ParcelMeasurementDraft extends io.vrap.rmf.base.client.Draftid of an existing Parcel.

* @param parcelId value to be set */ public void setParcelId(final String parcelId); /** - * set measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftBuilder.java index b59fe11a9e6..30cba3a3907 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftBuilder.java @@ -30,7 +30,7 @@ public class ParcelMeasurementDraftBuilder implements Builderid of an existing Parcel.

* @param parcelId value to be set * @return Builder */ @@ -41,7 +41,7 @@ public ParcelMeasurementDraftBuilder parcelId(final String parcelId) { } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -54,7 +54,7 @@ public ParcelMeasurementDraftBuilder measurements( } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -66,7 +66,7 @@ public ParcelMeasurementDraftBuilder withMeasurements( } /** - * set the value to the measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set * @return Builder */ @@ -78,7 +78,7 @@ public ParcelMeasurementDraftBuilder measurements( } /** - * value of parcelId} + *

id of an existing Parcel.

* @return parcelId */ @@ -87,7 +87,7 @@ public String getParcelId() { } /** - * value of measurements} + *

Information about the dimensions of the Parcel.

* @return measurements */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java index 34ba46b3961..2e7383f505f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelMeasurementDraftImpl.java @@ -43,7 +43,7 @@ public ParcelMeasurementDraftImpl() { } /** - * + *

id of an existing Parcel.

*/ public String getParcelId() { @@ -51,7 +51,7 @@ public String getParcelId() { } /** - * + *

Information about the dimensions of the Parcel.

*/ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasurements() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingData.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingData.java index e4ceb061768..dfb056af363 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingData.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingData.java @@ -34,7 +34,7 @@ public interface ParcelTrackingData { /** - * + *

id of an existing Parcel.

* @return parcelId */ @NotNull @@ -42,7 +42,7 @@ public interface ParcelTrackingData { public String getParcelId(); /** - * + *

Information that helps track a Parcel.

* @return trackingData */ @Valid @@ -50,14 +50,14 @@ public interface ParcelTrackingData { public TrackingData getTrackingData(); /** - * set parcelId + *

id of an existing Parcel.

* @param parcelId value to be set */ public void setParcelId(final String parcelId); /** - * set trackingData + *

Information that helps track a Parcel.

* @param trackingData value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataBuilder.java index 7e9d70d5a2f..0f002e3cf87 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataBuilder.java @@ -30,7 +30,7 @@ public class ParcelTrackingDataBuilder implements Builder { private com.commercetools.importapi.models.orders.TrackingData trackingData; /** - * set the value to the parcelId + *

id of an existing Parcel.

* @param parcelId value to be set * @return Builder */ @@ -41,7 +41,7 @@ public ParcelTrackingDataBuilder parcelId(final String parcelId) { } /** - * set the value to the trackingData using the builder function + *

Information that helps track a Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -53,7 +53,7 @@ public ParcelTrackingDataBuilder trackingData( } /** - * set the value to the trackingData using the builder function + *

Information that helps track a Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -65,7 +65,7 @@ public ParcelTrackingDataBuilder withTrackingData( } /** - * set the value to the trackingData + *

Information that helps track a Parcel.

* @param trackingData value to be set * @return Builder */ @@ -77,7 +77,7 @@ public ParcelTrackingDataBuilder trackingData( } /** - * value of parcelId} + *

id of an existing Parcel.

* @return parcelId */ @@ -86,7 +86,7 @@ public String getParcelId() { } /** - * value of trackingData} + *

Information that helps track a Parcel.

* @return trackingData */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java index 52a1e6309b2..c205f16112c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ParcelTrackingDataImpl.java @@ -43,7 +43,7 @@ public ParcelTrackingDataImpl() { } /** - * + *

id of an existing Parcel.

*/ public String getParcelId() { @@ -51,7 +51,7 @@ public String getParcelId() { } /** - * + *

Information that helps track a Parcel.

*/ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraft.java index 8d03da1b4f3..19ca624e120 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraft.java @@ -32,7 +32,7 @@ public interface RemoveParcelFromDeliveryDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

id of the Parcel to be removed from the Delivery.

* @return parcelId */ @NotNull @@ -40,7 +40,7 @@ public interface RemoveParcelFromDeliveryDraft extends io.vrap.rmf.base.client.D public String getParcelId(); /** - * set parcelId + *

id of the Parcel to be removed from the Delivery.

* @param parcelId value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftBuilder.java index e4d0660f110..3b9ae17e32e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftBuilder.java @@ -24,7 +24,7 @@ public class RemoveParcelFromDeliveryDraftBuilder implements Builderid of the Parcel to be removed from the Delivery.

* @param parcelId value to be set * @return Builder */ @@ -35,7 +35,7 @@ public RemoveParcelFromDeliveryDraftBuilder parcelId(final String parcelId) { } /** - * value of parcelId} + *

id of the Parcel to be removed from the Delivery.

* @return parcelId */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java index 9c52812bb34..39204e82b89 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/RemoveParcelFromDeliveryDraftImpl.java @@ -39,7 +39,7 @@ public RemoveParcelFromDeliveryDraftImpl() { } /** - * + *

id of the Parcel to be removed from the Delivery.

*/ public String getParcelId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfo.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfo.java index 07b5128134e..cb0078b94a0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfo.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfo.java @@ -35,7 +35,7 @@ public interface ReturnInfo { /** - * + *

Information on the Line Items or Custom Line Items returned.

* @return items */ @NotNull @@ -44,7 +44,7 @@ public interface ReturnInfo { public List getItems(); /** - *

Maps to ReturnInfo.returnTrackingId

+ *

User-defined identifier to track the return.

* @return returnTrackingId */ @@ -52,7 +52,7 @@ public interface ReturnInfo { public String getReturnTrackingId(); /** - *

Maps to ReturnInfo.returnDate

+ *

Date and time (UTC) the return is initiated.

* @return returnDate */ @@ -60,7 +60,7 @@ public interface ReturnInfo { public ZonedDateTime getReturnDate(); /** - * set items + *

Information on the Line Items or Custom Line Items returned.

* @param items values to be set */ @@ -68,21 +68,21 @@ public interface ReturnInfo { public void setItems(final ReturnItemDraft... items); /** - * set items + *

Information on the Line Items or Custom Line Items returned.

* @param items values to be set */ public void setItems(final List items); /** - *

Maps to ReturnInfo.returnTrackingId

+ *

User-defined identifier to track the return.

* @param returnTrackingId value to be set */ public void setReturnTrackingId(final String returnTrackingId); /** - *

Maps to ReturnInfo.returnDate

+ *

Date and time (UTC) the return is initiated.

* @param returnDate value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoBuilder.java index a8a4b4ff5b1..a536b82b7f3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoBuilder.java @@ -33,7 +33,7 @@ public class ReturnInfoBuilder implements Builder { private java.time.ZonedDateTime returnDate; /** - * set values to the items + *

Information on the Line Items or Custom Line Items returned.

* @param items value to be set * @return Builder */ @@ -44,7 +44,7 @@ public ReturnInfoBuilder items(final com.commercetools.importapi.models.order_pa } /** - * set value to the items + *

Information on the Line Items or Custom Line Items returned.

* @param items value to be set * @return Builder */ @@ -56,7 +56,7 @@ public ReturnInfoBuilder items( } /** - * add values to the items + *

Information on the Line Items or Custom Line Items returned.

* @param items value to be set * @return Builder */ @@ -71,7 +71,7 @@ public ReturnInfoBuilder plusItems( } /** - * add the value to the items using the builder function + *

Information on the Line Items or Custom Line Items returned.

* @param builder function to build the items value * @return Builder */ @@ -87,7 +87,7 @@ public ReturnInfoBuilder plusItems( } /** - * set the value to the items using the builder function + *

Information on the Line Items or Custom Line Items returned.

* @param builder function to build the items value * @return Builder */ @@ -101,7 +101,7 @@ public ReturnInfoBuilder withItems( } /** - * add the value to the items using the builder function + *

Information on the Line Items or Custom Line Items returned.

* @param builder function to build the items value * @return Builder */ @@ -112,7 +112,7 @@ public ReturnInfoBuilder addItems( } /** - * set the value to the items using the builder function + *

Information on the Line Items or Custom Line Items returned.

* @param builder function to build the items value * @return Builder */ @@ -123,7 +123,7 @@ public ReturnInfoBuilder setItems( } /** - *

Maps to ReturnInfo.returnTrackingId

+ *

User-defined identifier to track the return.

* @param returnTrackingId value to be set * @return Builder */ @@ -134,7 +134,7 @@ public ReturnInfoBuilder returnTrackingId(@Nullable final String returnTrackingI } /** - *

Maps to ReturnInfo.returnDate

+ *

Date and time (UTC) the return is initiated.

* @param returnDate value to be set * @return Builder */ @@ -145,7 +145,7 @@ public ReturnInfoBuilder returnDate(@Nullable final java.time.ZonedDateTime retu } /** - * value of items} + *

Information on the Line Items or Custom Line Items returned.

* @return items */ @@ -154,7 +154,7 @@ public java.util.ListMaps to ReturnInfo.returnTrackingId

+ *

User-defined identifier to track the return.

* @return returnTrackingId */ @@ -164,7 +164,7 @@ public String getReturnTrackingId() { } /** - *

Maps to ReturnInfo.returnDate

+ *

Date and time (UTC) the return is initiated.

* @return returnDate */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java index 99c9512878e..e39a7b0e33b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnInfoImpl.java @@ -48,7 +48,7 @@ public ReturnInfoImpl() { } /** - * + *

Information on the Line Items or Custom Line Items returned.

*/ public java.util.List getItems() { @@ -56,7 +56,7 @@ public java.util.ListMaps to ReturnInfo.returnTrackingId

+ *

User-defined identifier to track the return.

*/ public String getReturnTrackingId() { @@ -64,7 +64,7 @@ public String getReturnTrackingId() { } /** - *

Maps to ReturnInfo.returnDate

+ *

Date and time (UTC) the return is initiated.

*/ public java.time.ZonedDateTime getReturnDate() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraft.java index bd470178598..2664d4cf4ff 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraft.java @@ -33,7 +33,7 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Number of Line Items or Custom Line Items to return.

* @return quantity */ @NotNull @@ -41,7 +41,8 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.Draftid of the LineItem to return.

+ *

Required if Line Items are returned, to create a LineItemReturnItem.

* @return lineItemId */ @@ -49,7 +50,8 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.Draftid of the CustomLineItem to return.

+ *

Required if Custom Line Items are returned, to create a CustomLineItemReturnItem.

* @return customLineItemId */ @@ -57,7 +59,7 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.DraftUser-defined description for the return.

* @return comment */ @@ -65,7 +67,7 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.DraftMaps to ReturnItem.shipmentState

+ *

Shipment status of the item to be returned.

* @return shipmentState */ @NotNull @@ -73,35 +75,37 @@ public interface ReturnItemDraft extends io.vrap.rmf.base.client.DraftNumber of Line Items or Custom Line Items to return.

* @param quantity value to be set */ public void setQuantity(final Long quantity); /** - * set lineItemId + *

id of the LineItem to return.

+ *

Required if Line Items are returned, to create a LineItemReturnItem.

* @param lineItemId value to be set */ public void setLineItemId(final String lineItemId); /** - * set customLineItemId + *

id of the CustomLineItem to return.

+ *

Required if Custom Line Items are returned, to create a CustomLineItemReturnItem.

* @param customLineItemId value to be set */ public void setCustomLineItemId(final String customLineItemId); /** - * set comment + *

User-defined description for the return.

* @param comment value to be set */ public void setComment(final String comment); /** - *

Maps to ReturnItem.shipmentState

+ *

Shipment status of the item to be returned.

* @param shipmentState value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftBuilder.java index a988de94fd4..cee898e100e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftBuilder.java @@ -38,7 +38,7 @@ public class ReturnItemDraftBuilder implements Builder { private com.commercetools.importapi.models.order_patches.ReturnShipmentState shipmentState; /** - * set the value to the quantity + *

Number of Line Items or Custom Line Items to return.

* @param quantity value to be set * @return Builder */ @@ -49,7 +49,8 @@ public ReturnItemDraftBuilder quantity(final Long quantity) { } /** - * set the value to the lineItemId + *

id of the LineItem to return.

+ *

Required if Line Items are returned, to create a LineItemReturnItem.

* @param lineItemId value to be set * @return Builder */ @@ -60,7 +61,8 @@ public ReturnItemDraftBuilder lineItemId(@Nullable final String lineItemId) { } /** - * set the value to the customLineItemId + *

id of the CustomLineItem to return.

+ *

Required if Custom Line Items are returned, to create a CustomLineItemReturnItem.

* @param customLineItemId value to be set * @return Builder */ @@ -71,7 +73,7 @@ public ReturnItemDraftBuilder customLineItemId(@Nullable final String customLine } /** - * set the value to the comment + *

User-defined description for the return.

* @param comment value to be set * @return Builder */ @@ -82,7 +84,7 @@ public ReturnItemDraftBuilder comment(@Nullable final String comment) { } /** - *

Maps to ReturnItem.shipmentState

+ *

Shipment status of the item to be returned.

* @param shipmentState value to be set * @return Builder */ @@ -94,7 +96,7 @@ public ReturnItemDraftBuilder shipmentState( } /** - * value of quantity} + *

Number of Line Items or Custom Line Items to return.

* @return quantity */ @@ -103,7 +105,8 @@ public Long getQuantity() { } /** - * value of lineItemId} + *

id of the LineItem to return.

+ *

Required if Line Items are returned, to create a LineItemReturnItem.

* @return lineItemId */ @@ -113,7 +116,8 @@ public String getLineItemId() { } /** - * value of customLineItemId} + *

id of the CustomLineItem to return.

+ *

Required if Custom Line Items are returned, to create a CustomLineItemReturnItem.

* @return customLineItemId */ @@ -123,7 +127,7 @@ public String getCustomLineItemId() { } /** - * value of comment} + *

User-defined description for the return.

* @return comment */ @@ -133,7 +137,7 @@ public String getComment() { } /** - *

Maps to ReturnItem.shipmentState

+ *

Shipment status of the item to be returned.

* @return shipmentState */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java index d71952b2231..e6c6cb0d5d1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/order_patches/ReturnItemDraftImpl.java @@ -55,7 +55,7 @@ public ReturnItemDraftImpl() { } /** - * + *

Number of Line Items or Custom Line Items to return.

*/ public Long getQuantity() { @@ -63,7 +63,8 @@ public Long getQuantity() { } /** - * + *

id of the LineItem to return.

+ *

Required if Line Items are returned, to create a LineItemReturnItem.

*/ public String getLineItemId() { @@ -71,7 +72,8 @@ public String getLineItemId() { } /** - * + *

id of the CustomLineItem to return.

+ *

Required if Custom Line Items are returned, to create a CustomLineItemReturnItem.

*/ public String getCustomLineItemId() { @@ -79,7 +81,7 @@ public String getCustomLineItemId() { } /** - * + *

User-defined description for the return.

*/ public String getComment() { @@ -87,7 +89,7 @@ public String getComment() { } /** - *

Maps to ReturnItem.shipmentState

+ *

Shipment status of the item to be returned.

*/ public com.commercetools.importapi.models.order_patches.ReturnShipmentState getShipmentState() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraft.java index a92b3583e44..37673baa078 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraft.java @@ -42,12 +42,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.Draft { /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @return name */ @NotNull @@ -56,7 +51,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.money.

* @return money */ @NotNull @@ -65,7 +60,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.taxedPrice.

* @return taxedPrice */ @Valid @@ -73,7 +68,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.totalPrice.

* @return totalPrice */ @NotNull @@ -82,7 +77,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.slug.

* @return slug */ @NotNull @@ -90,7 +85,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.quantity.

* @return quantity */ @NotNull @@ -98,7 +93,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.state.

* @return state */ @Valid @@ -106,7 +101,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.Draft getState(); /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @Valid @@ -114,7 +109,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.taxRate.

* @return taxRate */ @Valid @@ -122,7 +117,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftExternal Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @return externalTaxRate */ @Valid @@ -130,7 +125,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.discountedPricePerQuantity.

* @return discountedPricePerQuantity */ @Valid @@ -138,7 +133,7 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.Draft getDiscountedPricePerQuantity(); /** - * + *

Maps to CustomLineItem.shippingDetails.

* @return shippingDetails */ @Valid @@ -146,54 +141,49 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @param name value to be set */ public void setName(final LocalizedString name); /** - * set money + *

Maps to CustomLineItem.money.

* @param money value to be set */ public void setMoney(final TypedMoney money); /** - * set taxedPrice + *

Maps to CustomLineItem.taxedPrice.

* @param taxedPrice value to be set */ public void setTaxedPrice(final CustomLineItemTaxedPrice taxedPrice); /** - * set totalPrice + *

Maps to CustomLineItem.totalPrice.

* @param totalPrice value to be set */ public void setTotalPrice(final TypedMoney totalPrice); /** - * set slug + *

Maps to CustomLineItem.slug.

* @param slug value to be set */ public void setSlug(final String slug); /** - * set quantity + *

Maps to CustomLineItem.quantity.

* @param quantity value to be set */ public void setQuantity(final Long quantity); /** - * set state + *

Maps to CustomLineItem.state.

* @param state values to be set */ @@ -201,35 +191,35 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.state.

* @param state values to be set */ public void setState(final List state); /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set */ public void setTaxCategory(final TaxCategoryKeyReference taxCategory); /** - * set taxRate + *

Maps to CustomLineItem.taxRate.

* @param taxRate value to be set */ public void setTaxRate(final TaxRate taxRate); /** - * set externalTaxRate + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @param externalTaxRate value to be set */ public void setExternalTaxRate(final ExternalTaxRateDraft externalTaxRate); /** - * set discountedPricePerQuantity + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param discountedPricePerQuantity values to be set */ @@ -237,14 +227,14 @@ public interface CustomLineItemDraft extends io.vrap.rmf.base.client.DraftMaps to CustomLineItem.discountedPricePerQuantity.

* @param discountedPricePerQuantity values to be set */ public void setDiscountedPricePerQuantity(final List discountedPricePerQuantity); /** - * set shippingDetails + *

Maps to CustomLineItem.shippingDetails.

* @param shippingDetails value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftBuilder.java index 4632c774742..0a710e05ac6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftBuilder.java @@ -60,12 +60,7 @@ public class CustomLineItemDraftBuilder implements Builder private com.commercetools.importapi.models.orders.ItemShippingDetailsDraft shippingDetails; /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @param builder function to build the name value * @return Builder */ @@ -77,12 +72,7 @@ public CustomLineItemDraftBuilder name( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @param builder function to build the name value * @return Builder */ @@ -94,12 +84,7 @@ public CustomLineItemDraftBuilder withName( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @param name value to be set * @return Builder */ @@ -110,7 +95,7 @@ public CustomLineItemDraftBuilder name(final com.commercetools.importapi.models. } /** - * set the value to the money + *

Maps to CustomLineItem.money.

* @param money value to be set * @return Builder */ @@ -121,7 +106,7 @@ public CustomLineItemDraftBuilder money(final com.commercetools.importapi.models } /** - * set the value to the money using the builder function + *

Maps to CustomLineItem.money.

* @param builder function to build the money value * @return Builder */ @@ -133,7 +118,7 @@ public CustomLineItemDraftBuilder money( } /** - * set the value to the taxedPrice using the builder function + *

Maps to CustomLineItem.taxedPrice.

* @param builder function to build the taxedPrice value * @return Builder */ @@ -146,7 +131,7 @@ public CustomLineItemDraftBuilder taxedPrice( } /** - * set the value to the taxedPrice using the builder function + *

Maps to CustomLineItem.taxedPrice.

* @param builder function to build the taxedPrice value * @return Builder */ @@ -158,7 +143,7 @@ public CustomLineItemDraftBuilder withTaxedPrice( } /** - * set the value to the taxedPrice + *

Maps to CustomLineItem.taxedPrice.

* @param taxedPrice value to be set * @return Builder */ @@ -170,7 +155,7 @@ public CustomLineItemDraftBuilder taxedPrice( } /** - * set the value to the totalPrice + *

Maps to CustomLineItem.totalPrice.

* @param totalPrice value to be set * @return Builder */ @@ -182,7 +167,7 @@ public CustomLineItemDraftBuilder totalPrice( } /** - * set the value to the totalPrice using the builder function + *

Maps to CustomLineItem.totalPrice.

* @param builder function to build the totalPrice value * @return Builder */ @@ -194,7 +179,7 @@ public CustomLineItemDraftBuilder totalPrice( } /** - * set the value to the slug + *

Maps to CustomLineItem.slug.

* @param slug value to be set * @return Builder */ @@ -205,7 +190,7 @@ public CustomLineItemDraftBuilder slug(final String slug) { } /** - * set the value to the quantity + *

Maps to CustomLineItem.quantity.

* @param quantity value to be set * @return Builder */ @@ -216,7 +201,7 @@ public CustomLineItemDraftBuilder quantity(final Long quantity) { } /** - * set values to the state + *

Maps to CustomLineItem.state.

* @param state value to be set * @return Builder */ @@ -228,7 +213,7 @@ public CustomLineItemDraftBuilder state( } /** - * set value to the state + *

Maps to CustomLineItem.state.

* @param state value to be set * @return Builder */ @@ -240,7 +225,7 @@ public CustomLineItemDraftBuilder state( } /** - * add values to the state + *

Maps to CustomLineItem.state.

* @param state value to be set * @return Builder */ @@ -255,7 +240,7 @@ public CustomLineItemDraftBuilder plusState( } /** - * add the value to the state using the builder function + *

Maps to CustomLineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -270,7 +255,7 @@ public CustomLineItemDraftBuilder plusState( } /** - * set the value to the state using the builder function + *

Maps to CustomLineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -283,7 +268,7 @@ public CustomLineItemDraftBuilder withState( } /** - * add the value to the state using the builder function + *

Maps to CustomLineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -294,7 +279,7 @@ public CustomLineItemDraftBuilder addState( } /** - * set the value to the state using the builder function + *

Maps to CustomLineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -305,7 +290,7 @@ public CustomLineItemDraftBuilder setState( } /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -318,7 +303,7 @@ public CustomLineItemDraftBuilder taxCategory( } /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -330,7 +315,7 @@ public CustomLineItemDraftBuilder withTaxCategory( } /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set * @return Builder */ @@ -342,7 +327,7 @@ public CustomLineItemDraftBuilder taxCategory( } /** - * set the value to the taxRate using the builder function + *

Maps to CustomLineItem.taxRate.

* @param builder function to build the taxRate value * @return Builder */ @@ -354,7 +339,7 @@ public CustomLineItemDraftBuilder taxRate( } /** - * set the value to the taxRate using the builder function + *

Maps to CustomLineItem.taxRate.

* @param builder function to build the taxRate value * @return Builder */ @@ -366,7 +351,7 @@ public CustomLineItemDraftBuilder withTaxRate( } /** - * set the value to the taxRate + *

Maps to CustomLineItem.taxRate.

* @param taxRate value to be set * @return Builder */ @@ -378,7 +363,7 @@ public CustomLineItemDraftBuilder taxRate( } /** - * set the value to the externalTaxRate using the builder function + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @param builder function to build the externalTaxRate value * @return Builder */ @@ -391,7 +376,7 @@ public CustomLineItemDraftBuilder externalTaxRate( } /** - * set the value to the externalTaxRate using the builder function + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @param builder function to build the externalTaxRate value * @return Builder */ @@ -404,7 +389,7 @@ public CustomLineItemDraftBuilder withExternalTaxRate( } /** - * set the value to the externalTaxRate + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @param externalTaxRate value to be set * @return Builder */ @@ -416,7 +401,7 @@ public CustomLineItemDraftBuilder externalTaxRate( } /** - * set values to the discountedPricePerQuantity + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param discountedPricePerQuantity value to be set * @return Builder */ @@ -428,7 +413,7 @@ public CustomLineItemDraftBuilder discountedPricePerQuantity( } /** - * set value to the discountedPricePerQuantity + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param discountedPricePerQuantity value to be set * @return Builder */ @@ -440,7 +425,7 @@ public CustomLineItemDraftBuilder discountedPricePerQuantity( } /** - * add values to the discountedPricePerQuantity + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param discountedPricePerQuantity value to be set * @return Builder */ @@ -455,7 +440,7 @@ public CustomLineItemDraftBuilder plusDiscountedPricePerQuantity( } /** - * add the value to the discountedPricePerQuantity using the builder function + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param builder function to build the discountedPricePerQuantity value * @return Builder */ @@ -471,7 +456,7 @@ public CustomLineItemDraftBuilder plusDiscountedPricePerQuantity( } /** - * set the value to the discountedPricePerQuantity using the builder function + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param builder function to build the discountedPricePerQuantity value * @return Builder */ @@ -485,7 +470,7 @@ public CustomLineItemDraftBuilder withDiscountedPricePerQuantity( } /** - * add the value to the discountedPricePerQuantity using the builder function + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param builder function to build the discountedPricePerQuantity value * @return Builder */ @@ -497,7 +482,7 @@ public CustomLineItemDraftBuilder addDiscountedPricePerQuantity( } /** - * set the value to the discountedPricePerQuantity using the builder function + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @param builder function to build the discountedPricePerQuantity value * @return Builder */ @@ -509,7 +494,7 @@ public CustomLineItemDraftBuilder setDiscountedPricePerQuantity( } /** - * set the value to the shippingDetails using the builder function + *

Maps to CustomLineItem.shippingDetails.

* @param builder function to build the shippingDetails value * @return Builder */ @@ -523,7 +508,7 @@ public CustomLineItemDraftBuilder shippingDetails( } /** - * set the value to the shippingDetails using the builder function + *

Maps to CustomLineItem.shippingDetails.

* @param builder function to build the shippingDetails value * @return Builder */ @@ -536,7 +521,7 @@ public CustomLineItemDraftBuilder withShippingDetails( } /** - * set the value to the shippingDetails + *

Maps to CustomLineItem.shippingDetails.

* @param shippingDetails value to be set * @return Builder */ @@ -548,12 +533,7 @@ public CustomLineItemDraftBuilder shippingDetails( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

* @return name */ @@ -562,7 +542,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - * value of money} + *

Maps to CustomLineItem.money.

* @return money */ @@ -571,7 +551,7 @@ public com.commercetools.importapi.models.common.TypedMoney getMoney() { } /** - * value of taxedPrice} + *

Maps to CustomLineItem.taxedPrice.

* @return taxedPrice */ @@ -581,7 +561,7 @@ public com.commercetools.importapi.models.orders.CustomLineItemTaxedPrice getTax } /** - * value of totalPrice} + *

Maps to CustomLineItem.totalPrice.

* @return totalPrice */ @@ -590,7 +570,7 @@ public com.commercetools.importapi.models.common.TypedMoney getTotalPrice() { } /** - * value of slug} + *

Maps to CustomLineItem.slug.

* @return slug */ @@ -599,7 +579,7 @@ public String getSlug() { } /** - * value of quantity} + *

Maps to CustomLineItem.quantity.

* @return quantity */ @@ -608,7 +588,7 @@ public Long getQuantity() { } /** - * value of state} + *

Maps to CustomLineItem.state.

* @return state */ @@ -618,7 +598,7 @@ public java.util.List getSt } /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @@ -628,7 +608,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - * value of taxRate} + *

Maps to CustomLineItem.taxRate.

* @return taxRate */ @@ -638,7 +618,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - * value of externalTaxRate} + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

* @return externalTaxRate */ @@ -648,7 +628,7 @@ public com.commercetools.importapi.models.orders.ExternalTaxRateDraft getExterna } /** - * value of discountedPricePerQuantity} + *

Maps to CustomLineItem.discountedPricePerQuantity.

* @return discountedPricePerQuantity */ @@ -658,7 +638,7 @@ public java.util.ListMaps to CustomLineItem.shippingDetails.

* @return shippingDetails */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java index 219df6cfd9f..76df180a651 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/CustomLineItemDraftImpl.java @@ -82,12 +82,7 @@ public CustomLineItemDraftImpl() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to CustomLineItem.name.

*/ public com.commercetools.importapi.models.common.LocalizedString getName() { @@ -95,7 +90,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - * + *

Maps to CustomLineItem.money.

*/ public com.commercetools.importapi.models.common.TypedMoney getMoney() { @@ -103,7 +98,7 @@ public com.commercetools.importapi.models.common.TypedMoney getMoney() { } /** - * + *

Maps to CustomLineItem.taxedPrice.

*/ public com.commercetools.importapi.models.orders.CustomLineItemTaxedPrice getTaxedPrice() { @@ -111,7 +106,7 @@ public com.commercetools.importapi.models.orders.CustomLineItemTaxedPrice getTax } /** - * + *

Maps to CustomLineItem.totalPrice.

*/ public com.commercetools.importapi.models.common.TypedMoney getTotalPrice() { @@ -119,7 +114,7 @@ public com.commercetools.importapi.models.common.TypedMoney getTotalPrice() { } /** - * + *

Maps to CustomLineItem.slug.

*/ public String getSlug() { @@ -127,7 +122,7 @@ public String getSlug() { } /** - * + *

Maps to CustomLineItem.quantity.

*/ public Long getQuantity() { @@ -135,7 +130,7 @@ public Long getQuantity() { } /** - * + *

Maps to CustomLineItem.state.

*/ public java.util.List getState() { @@ -143,7 +138,7 @@ public java.util.List getSt } /** - *

References a tax category by key.

+ *

Maps to CustomLineItem.taxCategory. References a tax category by key. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

*/ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxCategory() { @@ -151,7 +146,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - * + *

Maps to CustomLineItem.taxRate.

*/ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { @@ -159,7 +154,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - * + *

External Tax Rate for the Custom Line Item if the Cart has the External TaxMode.

*/ public com.commercetools.importapi.models.orders.ExternalTaxRateDraft getExternalTaxRate() { @@ -167,7 +162,7 @@ public com.commercetools.importapi.models.orders.ExternalTaxRateDraft getExterna } /** - * + *

Maps to CustomLineItem.discountedPricePerQuantity.

*/ public java.util.List getDiscountedPricePerQuantity() { @@ -175,7 +170,7 @@ public java.util.ListMaps to CustomLineItem.shippingDetails.

*/ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShippingDetails() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Delivery.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Delivery.java index bd41e231a2e..65566457166 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Delivery.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Delivery.java @@ -39,7 +39,7 @@ public interface Delivery { /** - * + *

Unique identifier of the Delivery.

* @return id */ @NotNull @@ -47,7 +47,7 @@ public interface Delivery { public String getId(); /** - * + *

Date and time (UTC) the Delivery was created.

* @return createdAt */ @NotNull @@ -55,7 +55,7 @@ public interface Delivery { public ZonedDateTime getCreatedAt(); /** - * + *

Line Items or Custom Line Items that are delivered.

* @return items */ @NotNull @@ -64,7 +64,7 @@ public interface Delivery { public List getItems(); /** - * + *

Information regarding the appearance, content, and shipment of a Parcel.

* @return parcels */ @NotNull @@ -73,7 +73,7 @@ public interface Delivery { public List getParcels(); /** - * + *

Address to which Parcels are delivered.

* @return address */ @Valid @@ -81,21 +81,21 @@ public interface Delivery { public Address getAddress(); /** - * set id + *

Unique identifier of the Delivery.

* @param id value to be set */ public void setId(final String id); /** - * set createdAt + *

Date and time (UTC) the Delivery was created.

* @param createdAt value to be set */ public void setCreatedAt(final ZonedDateTime createdAt); /** - * set items + *

Line Items or Custom Line Items that are delivered.

* @param items values to be set */ @@ -103,14 +103,14 @@ public interface Delivery { public void setItems(final DeliveryItem... items); /** - * set items + *

Line Items or Custom Line Items that are delivered.

* @param items values to be set */ public void setItems(final List items); /** - * set parcels + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param parcels values to be set */ @@ -118,14 +118,14 @@ public interface Delivery { public void setParcels(final Parcel... parcels); /** - * set parcels + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param parcels values to be set */ public void setParcels(final List parcels); /** - * set address + *

Address to which Parcels are delivered.

* @param address value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryBuilder.java index 9e33935d185..a8e49f0ec80 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryBuilder.java @@ -39,7 +39,7 @@ public class DeliveryBuilder implements Builder { private com.commercetools.importapi.models.common.Address address; /** - * set the value to the id + *

Unique identifier of the Delivery.

* @param id value to be set * @return Builder */ @@ -50,7 +50,7 @@ public DeliveryBuilder id(final String id) { } /** - * set the value to the createdAt + *

Date and time (UTC) the Delivery was created.

* @param createdAt value to be set * @return Builder */ @@ -61,7 +61,7 @@ public DeliveryBuilder createdAt(final java.time.ZonedDateTime createdAt) { } /** - * set values to the items + *

Line Items or Custom Line Items that are delivered.

* @param items value to be set * @return Builder */ @@ -72,7 +72,7 @@ public DeliveryBuilder items(final com.commercetools.importapi.models.orders.Del } /** - * set value to the items + *

Line Items or Custom Line Items that are delivered.

* @param items value to be set * @return Builder */ @@ -83,7 +83,7 @@ public DeliveryBuilder items(final java.util.ListLine Items or Custom Line Items that are delivered.

* @param items value to be set * @return Builder */ @@ -97,7 +97,7 @@ public DeliveryBuilder plusItems(final com.commercetools.importapi.models.orders } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items that are delivered.

* @param builder function to build the items value * @return Builder */ @@ -112,7 +112,7 @@ public DeliveryBuilder plusItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items that are delivered.

* @param builder function to build the items value * @return Builder */ @@ -125,7 +125,7 @@ public DeliveryBuilder withItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items that are delivered.

* @param builder function to build the items value * @return Builder */ @@ -136,7 +136,7 @@ public DeliveryBuilder addItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items that are delivered.

* @param builder function to build the items value * @return Builder */ @@ -147,7 +147,7 @@ public DeliveryBuilder setItems( } /** - * set values to the parcels + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param parcels value to be set * @return Builder */ @@ -158,7 +158,7 @@ public DeliveryBuilder parcels(final com.commercetools.importapi.models.orders.P } /** - * set value to the parcels + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param parcels value to be set * @return Builder */ @@ -169,7 +169,7 @@ public DeliveryBuilder parcels(final java.util.ListInformation regarding the appearance, content, and shipment of a Parcel.

* @param parcels value to be set * @return Builder */ @@ -183,7 +183,7 @@ public DeliveryBuilder plusParcels(final com.commercetools.importapi.models.orde } /** - * add the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -198,7 +198,7 @@ public DeliveryBuilder plusParcels( } /** - * set the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -211,7 +211,7 @@ public DeliveryBuilder withParcels( } /** - * add the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -222,7 +222,7 @@ public DeliveryBuilder addParcels( } /** - * set the value to the parcels using the builder function + *

Information regarding the appearance, content, and shipment of a Parcel.

* @param builder function to build the parcels value * @return Builder */ @@ -233,7 +233,7 @@ public DeliveryBuilder setParcels( } /** - * set the value to the address using the builder function + *

Address to which Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -245,7 +245,7 @@ public DeliveryBuilder address( } /** - * set the value to the address using the builder function + *

Address to which Parcels are delivered.

* @param builder function to build the address value * @return Builder */ @@ -257,7 +257,7 @@ public DeliveryBuilder withAddress( } /** - * set the value to the address + *

Address to which Parcels are delivered.

* @param address value to be set * @return Builder */ @@ -268,7 +268,7 @@ public DeliveryBuilder address(@Nullable final com.commercetools.importapi.model } /** - * value of id} + *

Unique identifier of the Delivery.

* @return id */ @@ -277,7 +277,7 @@ public String getId() { } /** - * value of createdAt} + *

Date and time (UTC) the Delivery was created.

* @return createdAt */ @@ -286,7 +286,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * value of items} + *

Line Items or Custom Line Items that are delivered.

* @return items */ @@ -295,7 +295,7 @@ public java.util.List ge } /** - * value of parcels} + *

Information regarding the appearance, content, and shipment of a Parcel.

* @return parcels */ @@ -304,7 +304,7 @@ public java.util.List getParce } /** - * value of address} + *

Address to which Parcels are delivered.

* @return address */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java index efafca0f1d6..c6398ff1369 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryImpl.java @@ -55,7 +55,7 @@ public DeliveryImpl() { } /** - * + *

Unique identifier of the Delivery.

*/ public String getId() { @@ -63,7 +63,7 @@ public String getId() { } /** - * + *

Date and time (UTC) the Delivery was created.

*/ public java.time.ZonedDateTime getCreatedAt() { @@ -71,7 +71,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

Line Items or Custom Line Items that are delivered.

*/ public java.util.List getItems() { @@ -79,7 +79,7 @@ public java.util.List ge } /** - * + *

Information regarding the appearance, content, and shipment of a Parcel.

*/ public java.util.List getParcels() { @@ -87,7 +87,7 @@ public java.util.List getParce } /** - * + *

Address to which Parcels are delivered.

*/ public com.commercetools.importapi.models.common.Address getAddress() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItem.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItem.java index 69a375301b9..1a51157e944 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItem.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItem.java @@ -33,7 +33,7 @@ public interface DeliveryItem { /** - * + *

id of the LineItem or CustomLineItem delivered.

* @return id */ @NotNull @@ -41,7 +41,7 @@ public interface DeliveryItem { public String getId(); /** - * + *

Number of Line Items or Custom Line Items delivered.

* @return quantity */ @NotNull @@ -49,14 +49,14 @@ public interface DeliveryItem { public Long getQuantity(); /** - * set id + *

id of the LineItem or CustomLineItem delivered.

* @param id value to be set */ public void setId(final String id); /** - * set quantity + *

Number of Line Items or Custom Line Items delivered.

* @param quantity value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemBuilder.java index b2cacdf604c..125a00cd0f1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemBuilder.java @@ -27,7 +27,7 @@ public class DeliveryItemBuilder implements Builder { private Long quantity; /** - * set the value to the id + *

id of the LineItem or CustomLineItem delivered.

* @param id value to be set * @return Builder */ @@ -38,7 +38,7 @@ public DeliveryItemBuilder id(final String id) { } /** - * set the value to the quantity + *

Number of Line Items or Custom Line Items delivered.

* @param quantity value to be set * @return Builder */ @@ -49,7 +49,7 @@ public DeliveryItemBuilder quantity(final Long quantity) { } /** - * value of id} + *

id of the LineItem or CustomLineItem delivered.

* @return id */ @@ -58,7 +58,7 @@ public String getId() { } /** - * value of quantity} + *

Number of Line Items or Custom Line Items delivered.

* @return quantity */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java index e4b3aae6d3d..3abf2b12205 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DeliveryItemImpl.java @@ -42,7 +42,7 @@ public DeliveryItemImpl() { } /** - * + *

id of the LineItem or CustomLineItem delivered.

*/ public String getId() { @@ -50,7 +50,7 @@ public String getId() { } /** - * + *

Number of Line Items or Custom Line Items delivered.

*/ public Long getQuantity() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfo.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfo.java index ffa0e0aa15c..4502601a82f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfo.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfo.java @@ -34,7 +34,7 @@ public interface DiscountCodeInfo { /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @return discountCode */ @NotNull @@ -51,7 +51,7 @@ public interface DiscountCodeInfo { public DiscountCodeState getState(); /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @param discountCode value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoBuilder.java index 7aa327fc6be..fac0c4c6d08 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoBuilder.java @@ -30,7 +30,7 @@ public class DiscountCodeInfoBuilder implements Builder { private com.commercetools.importapi.models.orders.DiscountCodeState state; /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @param builder function to build the discountCode value * @return Builder */ @@ -44,7 +44,7 @@ public DiscountCodeInfoBuilder discountCode( } /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @param builder function to build the discountCode value * @return Builder */ @@ -57,7 +57,7 @@ public DiscountCodeInfoBuilder withDiscountCode( } /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @param discountCode value to be set * @return Builder */ @@ -81,7 +81,7 @@ public DiscountCodeInfoBuilder state( } /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

* @return discountCode */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java index 778c8941a4c..9b6487cb99b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountCodeInfoImpl.java @@ -44,7 +44,7 @@ public DiscountCodeInfoImpl() { } /** - *

References a discount code by key.

+ *

References a DiscountCode by key. If the referenced DiscountCode does not exist, the state of the ImportOperation will be set to unresolved until the referenced DiscountCode is created.

*/ public com.commercetools.importapi.models.common.DiscountCodeKeyReference getDiscountCode() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortion.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortion.java index 136fdc4880b..bfabecdf1fe 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortion.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortion.java @@ -36,7 +36,7 @@ public interface DiscountedLineItemPortion { /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @return discount */ @NotNull @@ -45,7 +45,7 @@ public interface DiscountedLineItemPortion { public CartDiscountKeyReference getDiscount(); /** - * + *

Money value for the discount applicable.

* @return discountedAmount */ @NotNull @@ -54,14 +54,14 @@ public interface DiscountedLineItemPortion { public Money getDiscountedAmount(); /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @param discount value to be set */ public void setDiscount(final CartDiscountKeyReference discount); /** - * set discountedAmount + *

Money value for the discount applicable.

* @param discountedAmount value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionBuilder.java index b26cf651385..2595437aff4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionBuilder.java @@ -28,7 +28,7 @@ public class DiscountedLineItemPortionBuilder implements BuilderReferences a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @param builder function to build the discount value * @return Builder */ @@ -41,7 +41,7 @@ public DiscountedLineItemPortionBuilder discount( } /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @param builder function to build the discount value * @return Builder */ @@ -53,7 +53,7 @@ public DiscountedLineItemPortionBuilder withDiscount( } /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @param discount value to be set * @return Builder */ @@ -65,7 +65,7 @@ public DiscountedLineItemPortionBuilder discount( } /** - * set the value to the discountedAmount using the builder function + *

Money value for the discount applicable.

* @param builder function to build the discountedAmount value * @return Builder */ @@ -77,7 +77,7 @@ public DiscountedLineItemPortionBuilder discountedAmount( } /** - * set the value to the discountedAmount using the builder function + *

Money value for the discount applicable.

* @param builder function to build the discountedAmount value * @return Builder */ @@ -89,7 +89,7 @@ public DiscountedLineItemPortionBuilder withDiscountedAmount( } /** - * set the value to the discountedAmount + *

Money value for the discount applicable.

* @param discountedAmount value to be set * @return Builder */ @@ -101,7 +101,7 @@ public DiscountedLineItemPortionBuilder discountedAmount( } /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

* @return discount */ @@ -110,7 +110,7 @@ public com.commercetools.importapi.models.common.CartDiscountKeyReference getDis } /** - * value of discountedAmount} + *

Money value for the discount applicable.

* @return discountedAmount */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java index 6aaf11d6c27..8729e91b0d6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPortionImpl.java @@ -44,7 +44,7 @@ public DiscountedLineItemPortionImpl() { } /** - *

References a cart discount by key.

+ *

References a cart discount by key. If the referenced CartDiscount does not exist, the state of the ImportOperation will be set to unresolved until the referenced CartDiscount is created.

*/ public com.commercetools.importapi.models.common.CartDiscountKeyReference getDiscount() { @@ -52,7 +52,7 @@ public com.commercetools.importapi.models.common.CartDiscountKeyReference getDis } /** - * + *

Money value for the discount applicable.

*/ public com.commercetools.importapi.models.common.Money getDiscountedAmount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraft.java index f46ac2989d7..c460de0794f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraft.java @@ -36,7 +36,7 @@ public interface DiscountedLineItemPriceDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Discounted money value.

* @return value */ @NotNull @@ -45,7 +45,7 @@ public interface DiscountedLineItemPriceDraft extends io.vrap.rmf.base.client.Dr public Money getValue(); /** - * + *

Discounts to be applied.

* @return includedDiscounts */ @NotNull @@ -54,14 +54,14 @@ public interface DiscountedLineItemPriceDraft extends io.vrap.rmf.base.client.Dr public List getIncludedDiscounts(); /** - * set value + *

Discounted money value.

* @param value value to be set */ public void setValue(final Money value); /** - * set includedDiscounts + *

Discounts to be applied.

* @param includedDiscounts values to be set */ @@ -69,7 +69,7 @@ public interface DiscountedLineItemPriceDraft extends io.vrap.rmf.base.client.Dr public void setIncludedDiscounts(final DiscountedLineItemPortion... includedDiscounts); /** - * set includedDiscounts + *

Discounts to be applied.

* @param includedDiscounts values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftBuilder.java index 2168ef1a18a..efe865e02f8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftBuilder.java @@ -28,7 +28,7 @@ public class DiscountedLineItemPriceDraftBuilder implements Builder includedDiscounts; /** - * set the value to the value using the builder function + *

Discounted money value.

* @param builder function to build the value value * @return Builder */ @@ -40,7 +40,7 @@ public DiscountedLineItemPriceDraftBuilder value( } /** - * set the value to the value using the builder function + *

Discounted money value.

* @param builder function to build the value value * @return Builder */ @@ -52,7 +52,7 @@ public DiscountedLineItemPriceDraftBuilder withValue( } /** - * set the value to the value + *

Discounted money value.

* @param value value to be set * @return Builder */ @@ -63,7 +63,7 @@ public DiscountedLineItemPriceDraftBuilder value(final com.commercetools.importa } /** - * set values to the includedDiscounts + *

Discounts to be applied.

* @param includedDiscounts value to be set * @return Builder */ @@ -75,7 +75,7 @@ public DiscountedLineItemPriceDraftBuilder includedDiscounts( } /** - * set value to the includedDiscounts + *

Discounts to be applied.

* @param includedDiscounts value to be set * @return Builder */ @@ -87,7 +87,7 @@ public DiscountedLineItemPriceDraftBuilder includedDiscounts( } /** - * add values to the includedDiscounts + *

Discounts to be applied.

* @param includedDiscounts value to be set * @return Builder */ @@ -102,7 +102,7 @@ public DiscountedLineItemPriceDraftBuilder plusIncludedDiscounts( } /** - * add the value to the includedDiscounts using the builder function + *

Discounts to be applied.

* @param builder function to build the includedDiscounts value * @return Builder */ @@ -118,7 +118,7 @@ public DiscountedLineItemPriceDraftBuilder plusIncludedDiscounts( } /** - * set the value to the includedDiscounts using the builder function + *

Discounts to be applied.

* @param builder function to build the includedDiscounts value * @return Builder */ @@ -132,7 +132,7 @@ public DiscountedLineItemPriceDraftBuilder withIncludedDiscounts( } /** - * add the value to the includedDiscounts using the builder function + *

Discounts to be applied.

* @param builder function to build the includedDiscounts value * @return Builder */ @@ -144,7 +144,7 @@ public DiscountedLineItemPriceDraftBuilder addIncludedDiscounts( } /** - * set the value to the includedDiscounts using the builder function + *

Discounts to be applied.

* @param builder function to build the includedDiscounts value * @return Builder */ @@ -156,7 +156,7 @@ public DiscountedLineItemPriceDraftBuilder setIncludedDiscounts( } /** - * value of value} + *

Discounted money value.

* @return value */ @@ -165,7 +165,7 @@ public com.commercetools.importapi.models.common.Money getValue() { } /** - * value of includedDiscounts} + *

Discounts to be applied.

* @return includedDiscounts */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java index 328b0f79309..b9eb1dbd8d3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/DiscountedLineItemPriceDraftImpl.java @@ -43,7 +43,7 @@ public DiscountedLineItemPriceDraftImpl() { } /** - * + *

Discounted money value.

*/ public com.commercetools.importapi.models.common.Money getValue() { @@ -51,7 +51,7 @@ public com.commercetools.importapi.models.common.Money getValue() { } /** - * + *

Discounts to be applied.

*/ public java.util.List getIncludedDiscounts() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraft.java index 1e7e7260597..80c50641241 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraft.java @@ -36,7 +36,7 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Name of the Tax Rate.

* @return name */ @NotNull @@ -44,7 +44,11 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftPercentage in the range of 0-1.

+ *
    + *
  • If no subRates are specified, a value must be defined.
  • + *
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
  • + *
* @return amount */ @@ -52,7 +56,7 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftCountry for which the tax applies.

* @return country */ @NotNull @@ -60,7 +64,7 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftState within the specified country.

* @return state */ @@ -68,7 +72,7 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftUsed when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @return subRates */ @Valid @@ -76,7 +80,10 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.Draft getSubRates(); /** - * + *
    + *
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • + *
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
  • + *
* @return includedInPrice */ @@ -84,35 +91,39 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftName of the Tax Rate.

* @param name value to be set */ public void setName(final String name); /** - * set amount + *

Percentage in the range of 0-1.

+ *
    + *
  • If no subRates are specified, a value must be defined.
  • + *
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
  • + *
* @param amount value to be set */ public void setAmount(final Double amount); /** - * set country + *

Country for which the tax applies.

* @param country value to be set */ public void setCountry(final String country); /** - * set state + *

State within the specified country.

* @param state value to be set */ public void setState(final String state); /** - * set subRates + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param subRates values to be set */ @@ -120,14 +131,17 @@ public interface ExternalTaxRateDraft extends io.vrap.rmf.base.client.DraftUsed when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param subRates values to be set */ public void setSubRates(final List subRates); /** - * set includedInPrice + *
    + *
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • + *
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
  • + *
* @param includedInPrice value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftBuilder.java index 6611e1762db..f7d528e47f0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftBuilder.java @@ -42,7 +42,7 @@ public class ExternalTaxRateDraftBuilder implements BuilderName of the Tax Rate.

* @param name value to be set * @return Builder */ @@ -53,7 +53,11 @@ public ExternalTaxRateDraftBuilder name(final String name) { } /** - * set the value to the amount + *

Percentage in the range of 0-1.

+ *
    + *
  • If no subRates are specified, a value must be defined.
  • + *
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
  • + *
* @param amount value to be set * @return Builder */ @@ -64,7 +68,7 @@ public ExternalTaxRateDraftBuilder amount(@Nullable final Double amount) { } /** - * set the value to the country + *

Country for which the tax applies.

* @param country value to be set * @return Builder */ @@ -75,7 +79,7 @@ public ExternalTaxRateDraftBuilder country(final String country) { } /** - * set the value to the state + *

State within the specified country.

* @param state value to be set * @return Builder */ @@ -86,7 +90,7 @@ public ExternalTaxRateDraftBuilder state(@Nullable final String state) { } /** - * set values to the subRates + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param subRates value to be set * @return Builder */ @@ -98,7 +102,7 @@ public ExternalTaxRateDraftBuilder subRates( } /** - * set value to the subRates + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param subRates value to be set * @return Builder */ @@ -110,7 +114,7 @@ public ExternalTaxRateDraftBuilder subRates( } /** - * add values to the subRates + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param subRates value to be set * @return Builder */ @@ -125,7 +129,7 @@ public ExternalTaxRateDraftBuilder plusSubRates( } /** - * add the value to the subRates using the builder function + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param builder function to build the subRates value * @return Builder */ @@ -140,7 +144,7 @@ public ExternalTaxRateDraftBuilder plusSubRates( } /** - * set the value to the subRates using the builder function + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param builder function to build the subRates value * @return Builder */ @@ -153,7 +157,7 @@ public ExternalTaxRateDraftBuilder withSubRates( } /** - * add the value to the subRates using the builder function + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param builder function to build the subRates value * @return Builder */ @@ -164,7 +168,7 @@ public ExternalTaxRateDraftBuilder addSubRates( } /** - * set the value to the subRates using the builder function + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @param builder function to build the subRates value * @return Builder */ @@ -175,7 +179,10 @@ public ExternalTaxRateDraftBuilder setSubRates( } /** - * set the value to the includedInPrice + *
    + *
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • + *
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
  • + *
* @param includedInPrice value to be set * @return Builder */ @@ -186,7 +193,7 @@ public ExternalTaxRateDraftBuilder includedInPrice(@Nullable final Boolean inclu } /** - * value of name} + *

Name of the Tax Rate.

* @return name */ @@ -195,7 +202,11 @@ public String getName() { } /** - * value of amount} + *

Percentage in the range of 0-1.

+ *
    + *
  • If no subRates are specified, a value must be defined.
  • + *
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
  • + *
* @return amount */ @@ -205,7 +216,7 @@ public Double getAmount() { } /** - * value of country} + *

Country for which the tax applies.

* @return country */ @@ -214,7 +225,7 @@ public String getCountry() { } /** - * value of state} + *

State within the specified country.

* @return state */ @@ -224,7 +235,7 @@ public String getState() { } /** - * value of subRates} + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

* @return subRates */ @@ -234,7 +245,10 @@ public java.util.List getSubR } /** - * value of includedInPrice} + *
    + *
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • + *
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
  • + *
* @return includedInPrice */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java index 73532fda5e4..f32bf5a8e15 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ExternalTaxRateDraftImpl.java @@ -57,7 +57,7 @@ public ExternalTaxRateDraftImpl() { } /** - * + *

Name of the Tax Rate.

*/ public String getName() { @@ -65,7 +65,11 @@ public String getName() { } /** - * + *

Percentage in the range of 0-1.

+ *
    + *
  • If no subRates are specified, a value must be defined.
  • + *
  • If subRates are specified, this can be omitted or its value must be the sum of all subRates amounts.
  • + *
*/ public Double getAmount() { @@ -73,7 +77,7 @@ public Double getAmount() { } /** - * + *

Country for which the tax applies.

*/ public String getCountry() { @@ -81,7 +85,7 @@ public String getCountry() { } /** - * + *

State within the specified country.

*/ public String getState() { @@ -89,7 +93,7 @@ public String getState() { } /** - * + *

Used when the total tax is a combination of multiple taxes (for example, local, state/provincial, and/or federal taxes). The total of all subrates must equal the TaxRate amount. These subrates are used to calculate the taxPortions field of a Cart or Order and the taxedPrice field of LineItems, CustomLineItems, and ShippingInfos.

*/ public java.util.List getSubRates() { @@ -97,7 +101,10 @@ public java.util.List getSubR } /** - * + *
    + *
  • If set to false, the related price is considered the net price and the provided amount is applied to calculate the gross price.
  • + *
  • If set to true, the related price is considered the gross price, and the provided amount is applied to calculate the net price.
  • + *
*/ public Boolean getIncludedInPrice() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraft.java index cb26e0eb743..8d65821a2e2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraft.java @@ -17,7 +17,7 @@ import jakarta.validation.constraints.NotNull; /** - * ItemShippingDetailsDraft + *

The sum of the targets must match the quantity of the Line Items or Custom Line Items

* *
* Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ItemShippingDetailsDraft extends io.vrap.rmf.base.client.Draft { /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @return targets */ @NotNull @@ -43,7 +43,7 @@ public interface ItemShippingDetailsDraft extends io.vrap.rmf.base.client.Draft< public List getTargets(); /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param targets values to be set */ @@ -51,7 +51,7 @@ public interface ItemShippingDetailsDraft extends io.vrap.rmf.base.client.Draft< public void setTargets(final ItemShippingTarget... targets); /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param targets values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftBuilder.java index 6d04e03250f..33f933ca25e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftBuilder.java @@ -25,7 +25,7 @@ public class ItemShippingDetailsDraftBuilder implements Builder targets; /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param targets value to be set * @return Builder */ @@ -37,7 +37,7 @@ public ItemShippingDetailsDraftBuilder targets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param targets value to be set * @return Builder */ @@ -49,7 +49,7 @@ public ItemShippingDetailsDraftBuilder targets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param targets value to be set * @return Builder */ @@ -64,7 +64,7 @@ public ItemShippingDetailsDraftBuilder plusTargets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param builder function to build the targets value * @return Builder */ @@ -80,7 +80,7 @@ public ItemShippingDetailsDraftBuilder plusTargets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param builder function to build the targets value * @return Builder */ @@ -94,7 +94,7 @@ public ItemShippingDetailsDraftBuilder withTargets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param builder function to build the targets value * @return Builder */ @@ -105,7 +105,7 @@ public ItemShippingDetailsDraftBuilder addTargets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @param builder function to build the targets value * @return Builder */ @@ -116,7 +116,7 @@ public ItemShippingDetailsDraftBuilder setTargets( } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

* @return targets */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java index 0f55f8342dd..3f9f172bb01 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingDetailsDraftImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - * ItemShippingDetailsDraft + *

The sum of the targets must match the quantity of the Line Items or Custom Line Items

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ItemShippingDetailsDraftImpl implements ItemShippingDetailsDraft, ModelBase { @@ -40,7 +40,7 @@ public ItemShippingDetailsDraftImpl() { } /** - *

Maps to ItemShippingDetailsDraft.targets.

+ *

Holds information on the quantity of Line Items or Custom Line Items and the address it is shipped.

*/ public java.util.List getTargets() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTarget.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTarget.java index 2fe28f9fde4..ebe279437de 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTarget.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTarget.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The item's shipping target.

+ *

Determines the address (as a reference to an address in itemShippingAddresses) and the quantity shipped to the address.

* *
* Example to create an instance using the builder pattern @@ -33,7 +33,7 @@ public interface ItemShippingTarget { /** - *

Maps to ItemShippingTarget.addressKey.

+ *

Key of the address in the Cart itemShippingAddresses. Duplicate address keys are not allowed.

* @return addressKey */ @NotNull @@ -41,7 +41,7 @@ public interface ItemShippingTarget { public String getAddressKey(); /** - *

Maps to ItemShippingTarget.quantity.

+ *

Quantity of Line Items or Custom Line Items shipped to the address with the specified addressKey.

* @return quantity */ @NotNull @@ -49,14 +49,14 @@ public interface ItemShippingTarget { public Long getQuantity(); /** - *

Maps to ItemShippingTarget.addressKey.

+ *

Key of the address in the Cart itemShippingAddresses. Duplicate address keys are not allowed.

* @param addressKey value to be set */ public void setAddressKey(final String addressKey); /** - *

Maps to ItemShippingTarget.quantity.

+ *

Quantity of Line Items or Custom Line Items shipped to the address with the specified addressKey.

* @param quantity value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetBuilder.java index ed5a7164818..9af54769854 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetBuilder.java @@ -27,7 +27,7 @@ public class ItemShippingTargetBuilder implements Builder { private Long quantity; /** - *

Maps to ItemShippingTarget.addressKey.

+ *

Key of the address in the Cart itemShippingAddresses. Duplicate address keys are not allowed.

* @param addressKey value to be set * @return Builder */ @@ -38,7 +38,7 @@ public ItemShippingTargetBuilder addressKey(final String addressKey) { } /** - *

Maps to ItemShippingTarget.quantity.

+ *

Quantity of Line Items or Custom Line Items shipped to the address with the specified addressKey.

* @param quantity value to be set * @return Builder */ @@ -49,7 +49,7 @@ public ItemShippingTargetBuilder quantity(final Long quantity) { } /** - *

Maps to ItemShippingTarget.addressKey.

+ *

Key of the address in the Cart itemShippingAddresses. Duplicate address keys are not allowed.

* @return addressKey */ @@ -58,7 +58,7 @@ public String getAddressKey() { } /** - *

Maps to ItemShippingTarget.quantity.

+ *

Quantity of Line Items or Custom Line Items shipped to the address with the specified addressKey.

* @return quantity */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java index f46afad92af..bf6554fa2f0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemShippingTargetImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The item's shipping target.

+ *

Determines the address (as a reference to an address in itemShippingAddresses) and the quantity shipped to the address.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ItemShippingTargetImpl implements ItemShippingTarget, ModelBase { @@ -43,7 +43,7 @@ public ItemShippingTargetImpl() { } /** - *

Maps to ItemShippingTarget.addressKey.

+ *

Key of the address in the Cart itemShippingAddresses. Duplicate address keys are not allowed.

*/ public String getAddressKey() { @@ -51,7 +51,7 @@ public String getAddressKey() { } /** - *

Maps to ItemShippingTarget.quantity.

+ *

Quantity of Line Items or Custom Line Items shipped to the address with the specified addressKey.

*/ public Long getQuantity() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemState.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemState.java index 884a3494a22..9e2c36676b3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemState.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemState.java @@ -17,7 +17,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The item's state.

+ * ItemState * *
* Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ItemState { /** - * + *

Number of Line Items or Custom Line Items in this State.

* @return quantity */ @NotNull @@ -43,7 +43,7 @@ public interface ItemState { public Long getQuantity(); /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @NotNull @@ -52,14 +52,14 @@ public interface ItemState { public StateKeyReference getState(); /** - * set quantity + *

Number of Line Items or Custom Line Items in this State.

* @param quantity value to be set */ public void setQuantity(final Long quantity); /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateBuilder.java index 90c6c5b48ba..90102a7b49f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateBuilder.java @@ -28,7 +28,7 @@ public class ItemStateBuilder implements Builder { private com.commercetools.importapi.models.common.StateKeyReference state; /** - * set the value to the quantity + *

Number of Line Items or Custom Line Items in this State.

* @param quantity value to be set * @return Builder */ @@ -39,7 +39,7 @@ public ItemStateBuilder quantity(final Long quantity) { } /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -51,7 +51,7 @@ public ItemStateBuilder state( } /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -63,7 +63,7 @@ public ItemStateBuilder withState( } /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set * @return Builder */ @@ -74,7 +74,7 @@ public ItemStateBuilder state(final com.commercetools.importapi.models.common.St } /** - * value of quantity} + *

Number of Line Items or Custom Line Items in this State.

* @return quantity */ @@ -83,7 +83,7 @@ public Long getQuantity() { } /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java index 2bc8ac394b2..a7ecf7c0280 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ItemStateImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The item's state.

+ * ItemState */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ItemStateImpl implements ItemState, ModelBase { @@ -43,7 +43,7 @@ public ItemStateImpl() { } /** - * + *

Number of Line Items or Custom Line Items in this State.

*/ public Long getQuantity() { @@ -51,7 +51,7 @@ public Long getQuantity() { } /** - *

Maps to ItemState.state.

+ *

State of the Line Items or Custom Line Items in a custom workflow. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

*/ public com.commercetools.importapi.models.common.StateKeyReference getState() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java index 3416787579e..fb34750aa55 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraft.java @@ -43,7 +43,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.Draft { /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ @Valid @@ -86,7 +86,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.state.

* @return state */ @Valid @@ -94,7 +94,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.Draft getState(); /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return supplyChannel */ @Valid @@ -102,7 +102,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return distributionChannel */ @Valid @@ -118,7 +118,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @return shippingDetails */ @Valid @@ -126,7 +126,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftCustom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @return custom */ @Valid @@ -134,7 +134,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set */ @@ -169,7 +169,7 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.state.

* @param state values to be set */ @@ -177,21 +177,21 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.state.

* @param state values to be set */ public void setState(final List state); /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param supplyChannel value to be set */ public void setSupplyChannel(final ChannelKeyReference supplyChannel); /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param distributionChannel value to be set */ @@ -205,14 +205,14 @@ public interface LineItemImportDraft extends io.vrap.rmf.base.client.DraftMaps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @param shippingDetails value to be set */ public void setShippingDetails(final ItemShippingDetailsDraft shippingDetails); /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java index b090c6f171a..9b40d8ee520 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftBuilder.java @@ -57,7 +57,7 @@ public class LineItemImportDraftBuilder implements Builder private com.commercetools.importapi.models.customfields.Custom custom; /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -69,7 +69,7 @@ public LineItemImportDraftBuilder product( } /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -81,7 +81,7 @@ public LineItemImportDraftBuilder withProduct( } /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set * @return Builder */ @@ -213,7 +213,7 @@ public LineItemImportDraftBuilder quantity(final Long quantity) { } /** - * set values to the state + *

Maps to LineItem.state.

* @param state value to be set * @return Builder */ @@ -225,7 +225,7 @@ public LineItemImportDraftBuilder state( } /** - * set value to the state + *

Maps to LineItem.state.

* @param state value to be set * @return Builder */ @@ -237,7 +237,7 @@ public LineItemImportDraftBuilder state( } /** - * add values to the state + *

Maps to LineItem.state.

* @param state value to be set * @return Builder */ @@ -252,7 +252,7 @@ public LineItemImportDraftBuilder plusState( } /** - * add the value to the state using the builder function + *

Maps to LineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -267,7 +267,7 @@ public LineItemImportDraftBuilder plusState( } /** - * set the value to the state using the builder function + *

Maps to LineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -280,7 +280,7 @@ public LineItemImportDraftBuilder withState( } /** - * add the value to the state using the builder function + *

Maps to LineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -291,7 +291,7 @@ public LineItemImportDraftBuilder addState( } /** - * set the value to the state using the builder function + *

Maps to LineItem.state.

* @param builder function to build the state value * @return Builder */ @@ -302,7 +302,7 @@ public LineItemImportDraftBuilder setState( } /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the supplyChannel value * @return Builder */ @@ -315,7 +315,7 @@ public LineItemImportDraftBuilder supplyChannel( } /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the supplyChannel value * @return Builder */ @@ -327,7 +327,7 @@ public LineItemImportDraftBuilder withSupplyChannel( } /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param supplyChannel value to be set * @return Builder */ @@ -339,7 +339,7 @@ public LineItemImportDraftBuilder supplyChannel( } /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the distributionChannel value * @return Builder */ @@ -353,7 +353,7 @@ public LineItemImportDraftBuilder distributionChannel( } /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the distributionChannel value * @return Builder */ @@ -366,7 +366,7 @@ public LineItemImportDraftBuilder withDistributionChannel( } /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param distributionChannel value to be set * @return Builder */ @@ -414,7 +414,7 @@ public LineItemImportDraftBuilder taxRate( } /** - *

Maps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @param builder function to build the shippingDetails value * @return Builder */ @@ -428,7 +428,7 @@ public LineItemImportDraftBuilder shippingDetails( } /** - *

Maps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @param builder function to build the shippingDetails value * @return Builder */ @@ -441,7 +441,7 @@ public LineItemImportDraftBuilder withShippingDetails( } /** - *

Maps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @param shippingDetails value to be set * @return Builder */ @@ -453,7 +453,7 @@ public LineItemImportDraftBuilder shippingDetails( } /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @param builder function to build the custom value * @return Builder */ @@ -465,7 +465,7 @@ public LineItemImportDraftBuilder custom( } /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @param builder function to build the custom value * @return Builder */ @@ -477,7 +477,7 @@ public LineItemImportDraftBuilder withCustom( } /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @param custom value to be set * @return Builder */ @@ -489,7 +489,7 @@ public LineItemImportDraftBuilder custom( } /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ @@ -535,7 +535,7 @@ public Long getQuantity() { } /** - * value of state} + *

Maps to LineItem.state.

* @return state */ @@ -545,7 +545,7 @@ public java.util.List getSt } /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return supplyChannel */ @@ -555,7 +555,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyCh } /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return distributionChannel */ @@ -575,7 +575,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - *

Maps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

* @return shippingDetails */ @@ -585,7 +585,7 @@ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShi } /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java index e7d492957fb..51554624879 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemImportDraftImpl.java @@ -81,7 +81,7 @@ public LineItemImportDraftImpl() { } /** - *

Maps to LineItem.productId.

+ *

Maps to LineItem.productId. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

*/ public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { @@ -121,7 +121,7 @@ public Long getQuantity() { } /** - * + *

Maps to LineItem.state.

*/ public java.util.List getState() { @@ -129,7 +129,7 @@ public java.util.List getSt } /** - *

Maps to LineItem.supplyChannel. The Reference to the Supply Channel with which the LineItem is associated. If referenced Supply Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Supply Channel is created.

+ *

Maps to LineItem.supplyChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyChannel() { @@ -137,7 +137,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getSupplyCh } /** - *

Maps to LineItem.distributionChannel. The Reference to the Distribution Channel with which the LineItem is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary Distribution Channel is created.

+ *

Maps to LineItem.distributionChannel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getDistributionChannel() { @@ -153,7 +153,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - *

Maps to LineItem.shippingDetails.

+ *

Maps to LineItem.shippingDetails.

*/ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShippingDetails() { @@ -161,7 +161,7 @@ public com.commercetools.importapi.models.orders.ItemShippingDetailsDraft getShi } /** - *

Custom Fields for this Line Item.

+ *

Maps to LineItem.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPrice.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPrice.java index 0fda828970d..49c1d061203 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPrice.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPrice.java @@ -74,7 +74,7 @@ public interface LineItemPrice { public ZonedDateTime getValidUntil(); /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @Valid @@ -82,7 +82,7 @@ public interface LineItemPrice { public CustomerGroupKeyReference getCustomerGroup(); /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @Valid @@ -98,7 +98,7 @@ public interface LineItemPrice { public DiscountedPrice getDiscounted(); /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @return tiers */ @Valid @@ -142,14 +142,14 @@ public interface LineItemPrice { public void setValidUntil(final ZonedDateTime validUntil); /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set */ public void setCustomerGroup(final CustomerGroupKeyReference customerGroup); /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set */ @@ -163,7 +163,7 @@ public interface LineItemPrice { public void setDiscounted(final DiscountedPrice discounted); /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param tiers values to be set */ @@ -171,7 +171,7 @@ public interface LineItemPrice { public void setTiers(final PriceTier... tiers); /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param tiers values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceBuilder.java index 38a12510333..fb2654e204e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceBuilder.java @@ -107,7 +107,7 @@ public LineItemPriceBuilder validUntil(@Nullable final java.time.ZonedDateTime v } /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -121,7 +121,7 @@ public LineItemPriceBuilder customerGroup( } /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -134,7 +134,7 @@ public LineItemPriceBuilder withCustomerGroup( } /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set * @return Builder */ @@ -146,7 +146,7 @@ public LineItemPriceBuilder customerGroup( } /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -158,7 +158,7 @@ public LineItemPriceBuilder channel( } /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -170,7 +170,7 @@ public LineItemPriceBuilder withChannel( } /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set * @return Builder */ @@ -218,7 +218,7 @@ public LineItemPriceBuilder discounted( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param tiers value to be set * @return Builder */ @@ -229,7 +229,7 @@ public LineItemPriceBuilder tiers(@Nullable final com.commercetools.importapi.mo } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param tiers value to be set * @return Builder */ @@ -241,7 +241,7 @@ public LineItemPriceBuilder tiers( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param tiers value to be set * @return Builder */ @@ -256,7 +256,7 @@ public LineItemPriceBuilder plusTiers( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param builder function to build the tiers value * @return Builder */ @@ -271,7 +271,7 @@ public LineItemPriceBuilder plusTiers( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param builder function to build the tiers value * @return Builder */ @@ -284,7 +284,7 @@ public LineItemPriceBuilder withTiers( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param builder function to build the tiers value * @return Builder */ @@ -295,7 +295,7 @@ public LineItemPriceBuilder addTiers( } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @param builder function to build the tiers value * @return Builder */ @@ -380,7 +380,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @@ -390,7 +390,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @@ -410,7 +410,7 @@ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

* @return tiers */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java index 230ce12d7c4..7090bc6e6cc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemPriceImpl.java @@ -103,7 +103,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

References a customer group by key.

+ *

Maps to Price.customerGroup. References a customer group by key. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -111,7 +111,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

References a channel by key.

+ *

Maps to Price.channel. References a channel by key. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { @@ -127,7 +127,7 @@ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() } /** - *

The tiered prices for this price.

+ *

Maps to Price.tiers.

*/ public java.util.List getTiers() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraft.java index c8aabc878a8..20e43cbf2c7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraft.java @@ -36,7 +36,7 @@ public interface LineItemProductVariantImportDraft extends io.vrap.rmf.base.client.Draft { /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @return productVariant */ @Valid @@ -76,7 +76,7 @@ public interface LineItemProductVariantImportDraft public List getImages(); /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param productVariant value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftBuilder.java index 0316553c77b..e3c0e9b49b9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftBuilder.java @@ -39,7 +39,7 @@ public class LineItemProductVariantImportDraftBuilder implements Builder images; /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param builder function to build the productVariant value * @return Builder */ @@ -53,7 +53,7 @@ public LineItemProductVariantImportDraftBuilder productVariant( } /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param builder function to build the productVariant value * @return Builder */ @@ -66,7 +66,7 @@ public LineItemProductVariantImportDraftBuilder withProductVariant( } /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param productVariant value to be set * @return Builder */ @@ -336,7 +336,7 @@ public LineItemProductVariantImportDraftBuilder setImages( } /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @return productVariant */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java index a53703b1084..d44aa929a94 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/LineItemProductVariantImportDraftImpl.java @@ -56,7 +56,7 @@ public LineItemProductVariantImportDraftImpl() { } /** - *

Maps to ProductVariant.product.

+ *

Maps to ProductVariant.product. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

*/ public com.commercetools.importapi.models.common.ProductVariantKeyReference getProductVariant() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImport.java index 554709e15e2..c0b4ea14536 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImport.java @@ -25,8 +25,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for an Order to be imported that is persisted as an Order in the Project.

- *

In commercetools, you can import an Order using the Create Order by Import endpoint method instead of creating it from a Cart.

+ *

Represents the data used to import an Order. Once imported, this data is persisted as an Order in the Project.

*

An OrderImport is a snapshot of an order at the time it was imported.

* *
@@ -53,7 +52,7 @@ public interface OrderImport { public String getOrderNumber(); /** - * + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @return customer */ @Valid @@ -118,7 +117,7 @@ public interface OrderImport { public Address getBillingAddress(); /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @Valid @@ -222,7 +221,7 @@ public interface OrderImport { public List
getItemShippingAddresses(); /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @return store */ @Valid @@ -230,7 +229,7 @@ public interface OrderImport { public StoreKeyReference getStore(); /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @Valid @@ -245,7 +244,7 @@ public interface OrderImport { public void setOrderNumber(final String orderNumber); /** - * set customer + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @param customer value to be set */ @@ -317,7 +316,7 @@ public interface OrderImport { public void setBillingAddress(final Address billingAddress); /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set */ @@ -416,14 +415,14 @@ public interface OrderImport { public void setItemShippingAddresses(final List
itemShippingAddresses); /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @param store value to be set */ public void setStore(final StoreKeyReference store); /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportBuilder.java index dccdff7c8f0..b42484cbfbd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportBuilder.java @@ -107,7 +107,7 @@ public OrderImportBuilder orderNumber(final String orderNumber) { } /** - * set the value to the customer using the builder function + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @param builder function to build the customer value * @return Builder */ @@ -120,7 +120,7 @@ public OrderImportBuilder customer( } /** - * set the value to the customer using the builder function + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @param builder function to build the customer value * @return Builder */ @@ -132,7 +132,7 @@ public OrderImportBuilder withCustomer( } /** - * set the value to the customer + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @param customer value to be set * @return Builder */ @@ -470,7 +470,7 @@ public OrderImportBuilder billingAddress( } /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -484,7 +484,7 @@ public OrderImportBuilder customerGroup( } /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -497,7 +497,7 @@ public OrderImportBuilder withCustomerGroup( } /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set * @return Builder */ @@ -778,7 +778,7 @@ public OrderImportBuilder setItemShippingAddresses( } /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @param builder function to build the store value * @return Builder */ @@ -790,7 +790,7 @@ public OrderImportBuilder store( } /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @param builder function to build the store value * @return Builder */ @@ -802,7 +802,7 @@ public OrderImportBuilder withStore( } /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @param store value to be set * @return Builder */ @@ -813,7 +813,7 @@ public OrderImportBuilder store(@Nullable final com.commercetools.importapi.mode } /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -825,7 +825,7 @@ public OrderImportBuilder state( } /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -837,7 +837,7 @@ public OrderImportBuilder withState( } /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set * @return Builder */ @@ -857,7 +857,7 @@ public String getOrderNumber() { } /** - * value of customer} + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

* @return customer */ @@ -936,7 +936,7 @@ public com.commercetools.importapi.models.common.Address getBillingAddress() { } /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @@ -1066,7 +1066,7 @@ public java.util.List getItem } /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

* @return store */ @@ -1076,7 +1076,7 @@ public com.commercetools.importapi.models.common.StoreKeyReference getStore() { } /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java index 11d9ca80431..a378ddfa350 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/OrderImportImpl.java @@ -17,8 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for an Order to be imported that is persisted as an Order in the Project.

- *

In commercetools, you can import an Order using the Create Order by Import endpoint method instead of creating it from a Cart.

+ *

Represents the data used to import an Order. Once imported, this data is persisted as an Order in the Project.

*

An OrderImport is a snapshot of an order at the time it was imported.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") @@ -141,7 +140,7 @@ public String getOrderNumber() { } /** - * + *

key of the Customer that the Order belongs to. If the referenced Customer does not exist, the state of the ImportOperation will be set to unresolved until the referenced Customer is created.

*/ public com.commercetools.importapi.models.common.CustomerKeyReference getCustomer() { @@ -205,7 +204,7 @@ public com.commercetools.importapi.models.common.Address getBillingAddress() { } /** - *

Maps to Order.customerGroup.

+ *

Maps to Order.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -309,7 +308,7 @@ public java.util.List getItem } /** - *

Reference to the Store in which the Order is associated. If referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the necessary Store exists.

+ *

Maps to Order.store. If the referenced Store does not exist, the state of the ImportOperation will be set to unresolved until the referenced Store is created.

*/ public com.commercetools.importapi.models.common.StoreKeyReference getStore() { @@ -317,7 +316,7 @@ public com.commercetools.importapi.models.common.StoreKeyReference getStore() { } /** - *

Reference to a State in a custom workflow.

+ *

Maps to Order.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

*/ public com.commercetools.importapi.models.common.StateKeyReference getState() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Parcel.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Parcel.java index f14704ba3f6..1c9d85f9b19 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Parcel.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/Parcel.java @@ -37,7 +37,7 @@ public interface Parcel { /** - * + *

Unique identifier of the Parcel.

* @return id */ @NotNull @@ -45,7 +45,7 @@ public interface Parcel { public String getId(); /** - * + *

Date and time (UTC) the Parcel was created.

* @return createdAt */ @NotNull @@ -53,7 +53,7 @@ public interface Parcel { public ZonedDateTime getCreatedAt(); /** - * + *

Information about the dimensions of the Parcel.

* @return measurements */ @Valid @@ -61,7 +61,7 @@ public interface Parcel { public ParcelMeasurements getMeasurements(); /** - * + *

Shipment tracking information of the Parcel.

* @return trackingData */ @Valid @@ -69,7 +69,7 @@ public interface Parcel { public TrackingData getTrackingData(); /** - * + *

Line Items or Custom Line Items delivered in this Parcel.

* @return items */ @Valid @@ -77,7 +77,7 @@ public interface Parcel { public List getItems(); /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @return custom */ @Valid @@ -85,35 +85,35 @@ public interface Parcel { public Custom getCustom(); /** - * set id + *

Unique identifier of the Parcel.

* @param id value to be set */ public void setId(final String id); /** - * set createdAt + *

Date and time (UTC) the Parcel was created.

* @param createdAt value to be set */ public void setCreatedAt(final ZonedDateTime createdAt); /** - * set measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set */ public void setMeasurements(final ParcelMeasurements measurements); /** - * set trackingData + *

Shipment tracking information of the Parcel.

* @param trackingData value to be set */ public void setTrackingData(final TrackingData trackingData); /** - * set items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ @@ -121,14 +121,14 @@ public interface Parcel { public void setItems(final DeliveryItem... items); /** - * set items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items values to be set */ public void setItems(final List items); /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelBuilder.java index ef7b0218e93..c84d277033c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelBuilder.java @@ -42,7 +42,7 @@ public class ParcelBuilder implements Builder { private com.commercetools.importapi.models.customfields.Custom custom; /** - * set the value to the id + *

Unique identifier of the Parcel.

* @param id value to be set * @return Builder */ @@ -53,7 +53,7 @@ public ParcelBuilder id(final String id) { } /** - * set the value to the createdAt + *

Date and time (UTC) the Parcel was created.

* @param createdAt value to be set * @return Builder */ @@ -64,7 +64,7 @@ public ParcelBuilder createdAt(final java.time.ZonedDateTime createdAt) { } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -77,7 +77,7 @@ public ParcelBuilder measurements( } /** - * set the value to the measurements using the builder function + *

Information about the dimensions of the Parcel.

* @param builder function to build the measurements value * @return Builder */ @@ -89,7 +89,7 @@ public ParcelBuilder withMeasurements( } /** - * set the value to the measurements + *

Information about the dimensions of the Parcel.

* @param measurements value to be set * @return Builder */ @@ -101,7 +101,7 @@ public ParcelBuilder measurements( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information of the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -113,7 +113,7 @@ public ParcelBuilder trackingData( } /** - * set the value to the trackingData using the builder function + *

Shipment tracking information of the Parcel.

* @param builder function to build the trackingData value * @return Builder */ @@ -125,7 +125,7 @@ public ParcelBuilder withTrackingData( } /** - * set the value to the trackingData + *

Shipment tracking information of the Parcel.

* @param trackingData value to be set * @return Builder */ @@ -137,7 +137,7 @@ public ParcelBuilder trackingData( } /** - * set values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -148,7 +148,7 @@ public ParcelBuilder items(@Nullable final com.commercetools.importapi.models.or } /** - * set value to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -160,7 +160,7 @@ public ParcelBuilder items( } /** - * add values to the items + *

Line Items or Custom Line Items delivered in this Parcel.

* @param items value to be set * @return Builder */ @@ -174,7 +174,7 @@ public ParcelBuilder plusItems(@Nullable final com.commercetools.importapi.model } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -189,7 +189,7 @@ public ParcelBuilder plusItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -202,7 +202,7 @@ public ParcelBuilder withItems( } /** - * add the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -213,7 +213,7 @@ public ParcelBuilder addItems( } /** - * set the value to the items using the builder function + *

Line Items or Custom Line Items delivered in this Parcel.

* @param builder function to build the items value * @return Builder */ @@ -224,7 +224,7 @@ public ParcelBuilder setItems( } /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @param builder function to build the custom value * @return Builder */ @@ -236,7 +236,7 @@ public ParcelBuilder custom( } /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @param builder function to build the custom value * @return Builder */ @@ -248,7 +248,7 @@ public ParcelBuilder withCustom( } /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @param custom value to be set * @return Builder */ @@ -259,7 +259,7 @@ public ParcelBuilder custom(@Nullable final com.commercetools.importapi.models.c } /** - * value of id} + *

Unique identifier of the Parcel.

* @return id */ @@ -268,7 +268,7 @@ public String getId() { } /** - * value of createdAt} + *

Date and time (UTC) the Parcel was created.

* @return createdAt */ @@ -277,7 +277,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * value of measurements} + *

Information about the dimensions of the Parcel.

* @return measurements */ @@ -287,7 +287,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * value of trackingData} + *

Shipment tracking information of the Parcel.

* @return trackingData */ @@ -297,7 +297,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * value of items} + *

Line Items or Custom Line Items delivered in this Parcel.

* @return items */ @@ -307,7 +307,7 @@ public java.util.List ge } /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

* @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java index ecfff36bbc7..d8d80cc43c3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelImpl.java @@ -58,7 +58,7 @@ public ParcelImpl() { } /** - * + *

Unique identifier of the Parcel.

*/ public String getId() { @@ -66,7 +66,7 @@ public String getId() { } /** - * + *

Date and time (UTC) the Parcel was created.

*/ public java.time.ZonedDateTime getCreatedAt() { @@ -74,7 +74,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

Information about the dimensions of the Parcel.

*/ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasurements() { @@ -82,7 +82,7 @@ public com.commercetools.importapi.models.orders.ParcelMeasurements getMeasureme } /** - * + *

Shipment tracking information of the Parcel.

*/ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() { @@ -90,7 +90,7 @@ public com.commercetools.importapi.models.orders.TrackingData getTrackingData() } /** - * + *

Line Items or Custom Line Items delivered in this Parcel.

*/ public java.util.List getItems() { @@ -98,7 +98,7 @@ public java.util.List ge } /** - *

The representation to be sent to the server when creating a resource with Custom Fields.

+ *

Custom Fields of the Parcel.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurements.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurements.java index fc5ee733e54..c1604e630fb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurements.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurements.java @@ -29,7 +29,7 @@ public interface ParcelMeasurements { /** - * + *

Height of the Parcel.

* @return heightInMillimeter */ @@ -37,7 +37,7 @@ public interface ParcelMeasurements { public Integer getHeightInMillimeter(); /** - * + *

Length of the Parcel.

* @return lengthInMillimeter */ @@ -45,7 +45,7 @@ public interface ParcelMeasurements { public Integer getLengthInMillimeter(); /** - * + *

Width of the Parcel.

* @return widthInMillimeter */ @@ -53,7 +53,7 @@ public interface ParcelMeasurements { public Integer getWidthInMillimeter(); /** - * + *

Weight of the Parcel.

* @return weightInGram */ @@ -61,28 +61,28 @@ public interface ParcelMeasurements { public Integer getWeightInGram(); /** - * set heightInMillimeter + *

Height of the Parcel.

* @param heightInMillimeter value to be set */ public void setHeightInMillimeter(final Integer heightInMillimeter); /** - * set lengthInMillimeter + *

Length of the Parcel.

* @param lengthInMillimeter value to be set */ public void setLengthInMillimeter(final Integer lengthInMillimeter); /** - * set widthInMillimeter + *

Width of the Parcel.

* @param widthInMillimeter value to be set */ public void setWidthInMillimeter(final Integer widthInMillimeter); /** - * set weightInGram + *

Weight of the Parcel.

* @param weightInGram value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsBuilder.java index a14a1a4e755..c26619eedeb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsBuilder.java @@ -35,7 +35,7 @@ public class ParcelMeasurementsBuilder implements Builder { private Integer weightInGram; /** - * set the value to the heightInMillimeter + *

Height of the Parcel.

* @param heightInMillimeter value to be set * @return Builder */ @@ -46,7 +46,7 @@ public ParcelMeasurementsBuilder heightInMillimeter(@Nullable final Integer heig } /** - * set the value to the lengthInMillimeter + *

Length of the Parcel.

* @param lengthInMillimeter value to be set * @return Builder */ @@ -57,7 +57,7 @@ public ParcelMeasurementsBuilder lengthInMillimeter(@Nullable final Integer leng } /** - * set the value to the widthInMillimeter + *

Width of the Parcel.

* @param widthInMillimeter value to be set * @return Builder */ @@ -68,7 +68,7 @@ public ParcelMeasurementsBuilder widthInMillimeter(@Nullable final Integer width } /** - * set the value to the weightInGram + *

Weight of the Parcel.

* @param weightInGram value to be set * @return Builder */ @@ -79,7 +79,7 @@ public ParcelMeasurementsBuilder weightInGram(@Nullable final Integer weightInGr } /** - * value of heightInMillimeter} + *

Height of the Parcel.

* @return heightInMillimeter */ @@ -89,7 +89,7 @@ public Integer getHeightInMillimeter() { } /** - * value of lengthInMillimeter} + *

Length of the Parcel.

* @return lengthInMillimeter */ @@ -99,7 +99,7 @@ public Integer getLengthInMillimeter() { } /** - * value of widthInMillimeter} + *

Width of the Parcel.

* @return widthInMillimeter */ @@ -109,7 +109,7 @@ public Integer getWidthInMillimeter() { } /** - * value of weightInGram} + *

Weight of the Parcel.

* @return weightInGram */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java index acf8b62bdeb..61b9479f657 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ParcelMeasurementsImpl.java @@ -51,7 +51,7 @@ public ParcelMeasurementsImpl() { } /** - * + *

Height of the Parcel.

*/ public Integer getHeightInMillimeter() { @@ -59,7 +59,7 @@ public Integer getHeightInMillimeter() { } /** - * + *

Length of the Parcel.

*/ public Integer getLengthInMillimeter() { @@ -67,7 +67,7 @@ public Integer getLengthInMillimeter() { } /** - * + *

Width of the Parcel.

*/ public Integer getWidthInMillimeter() { @@ -75,7 +75,7 @@ public Integer getWidthInMillimeter() { } /** - * + *

Weight of the Parcel.

*/ public Integer getWeightInGram() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraft.java index 2ed56c8f1a8..27a04a40cda 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraft.java @@ -21,7 +21,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Maps to an order's shippingInfo property. This field is usually populated by the cart associated with the order, but when importing orders you must provide a draft representation as a part of the OrderImport.

+ *

Maps to an Order's shippingInfo property. This field is usually populated by the Cart associated with the Order, but when importing Orders you must provide a draft representation as a part of the OrderImport.

* *
* Example to create an instance using the builder pattern @@ -40,7 +40,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Maps to shippingInfo.shippingMethodName.

* @return shippingMethodName */ @NotNull @@ -48,7 +48,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftMaps to shippingInfo.price.

* @return price */ @NotNull @@ -57,7 +57,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftUsed to determine the price.

* @return shippingRate */ @NotNull @@ -66,7 +66,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftMaps to shippingInfo.taxRate.

* @return taxRate */ @Valid @@ -74,7 +74,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftReferences a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @Valid @@ -82,7 +82,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftReferences a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @return shippingMethod */ @Valid @@ -90,7 +90,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftNote that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @return deliveries */ @Valid @@ -98,7 +98,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.Draft getDeliveries(); /** - * + *

Maps to shippingInfo.discountedPrice.

* @return discountedPrice */ @Valid @@ -106,7 +106,7 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftMaps to shippingInfo.shippingMethodState.

* @return shippingMethodState */ @@ -114,49 +114,49 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftMaps to shippingInfo.shippingMethodName.

* @param shippingMethodName value to be set */ public void setShippingMethodName(final String shippingMethodName); /** - * set price + *

Maps to shippingInfo.price.

* @param price value to be set */ public void setPrice(final TypedMoney price); /** - * set shippingRate + *

Used to determine the price.

* @param shippingRate value to be set */ public void setShippingRate(final ShippingRateDraft shippingRate); /** - * set taxRate + *

Maps to shippingInfo.taxRate.

* @param taxRate value to be set */ public void setTaxRate(final TaxRate taxRate); /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set */ public void setTaxCategory(final TaxCategoryKeyReference taxCategory); /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @param shippingMethod value to be set */ public void setShippingMethod(final ShippingMethodKeyReference shippingMethod); /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param deliveries values to be set */ @@ -164,21 +164,21 @@ public interface ShippingInfoImportDraft extends io.vrap.rmf.base.client.DraftNote that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param deliveries values to be set */ public void setDeliveries(final List deliveries); /** - * set discountedPrice + *

Maps to shippingInfo.discountedPrice.

* @param discountedPrice value to be set */ public void setDiscountedPrice(final DiscountedLineItemPriceDraft discountedPrice); /** - * set shippingMethodState + *

Maps to shippingInfo.shippingMethodState.

* @param shippingMethodState value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftBuilder.java index 90d952e9413..0d53cb91484 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftBuilder.java @@ -51,7 +51,7 @@ public class ShippingInfoImportDraftBuilder implements BuilderMaps to shippingInfo.shippingMethodName.

* @param shippingMethodName value to be set * @return Builder */ @@ -62,7 +62,7 @@ public ShippingInfoImportDraftBuilder shippingMethodName(final String shippingMe } /** - * set the value to the price + *

Maps to shippingInfo.price.

* @param price value to be set * @return Builder */ @@ -73,7 +73,7 @@ public ShippingInfoImportDraftBuilder price(final com.commercetools.importapi.mo } /** - * set the value to the price using the builder function + *

Maps to shippingInfo.price.

* @param builder function to build the price value * @return Builder */ @@ -85,7 +85,7 @@ public ShippingInfoImportDraftBuilder price( } /** - * set the value to the shippingRate using the builder function + *

Used to determine the price.

* @param builder function to build the shippingRate value * @return Builder */ @@ -98,7 +98,7 @@ public ShippingInfoImportDraftBuilder shippingRate( } /** - * set the value to the shippingRate using the builder function + *

Used to determine the price.

* @param builder function to build the shippingRate value * @return Builder */ @@ -110,7 +110,7 @@ public ShippingInfoImportDraftBuilder withShippingRate( } /** - * set the value to the shippingRate + *

Used to determine the price.

* @param shippingRate value to be set * @return Builder */ @@ -122,7 +122,7 @@ public ShippingInfoImportDraftBuilder shippingRate( } /** - * set the value to the taxRate using the builder function + *

Maps to shippingInfo.taxRate.

* @param builder function to build the taxRate value * @return Builder */ @@ -134,7 +134,7 @@ public ShippingInfoImportDraftBuilder taxRate( } /** - * set the value to the taxRate using the builder function + *

Maps to shippingInfo.taxRate.

* @param builder function to build the taxRate value * @return Builder */ @@ -146,7 +146,7 @@ public ShippingInfoImportDraftBuilder withTaxRate( } /** - * set the value to the taxRate + *

Maps to shippingInfo.taxRate.

* @param taxRate value to be set * @return Builder */ @@ -158,7 +158,7 @@ public ShippingInfoImportDraftBuilder taxRate( } /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -171,7 +171,7 @@ public ShippingInfoImportDraftBuilder taxCategory( } /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -183,7 +183,7 @@ public ShippingInfoImportDraftBuilder withTaxCategory( } /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set * @return Builder */ @@ -195,7 +195,7 @@ public ShippingInfoImportDraftBuilder taxCategory( } /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @param builder function to build the shippingMethod value * @return Builder */ @@ -209,7 +209,7 @@ public ShippingInfoImportDraftBuilder shippingMethod( } /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @param builder function to build the shippingMethod value * @return Builder */ @@ -222,7 +222,7 @@ public ShippingInfoImportDraftBuilder withShippingMethod( } /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @param shippingMethod value to be set * @return Builder */ @@ -234,7 +234,7 @@ public ShippingInfoImportDraftBuilder shippingMethod( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param deliveries value to be set * @return Builder */ @@ -246,7 +246,7 @@ public ShippingInfoImportDraftBuilder deliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param deliveries value to be set * @return Builder */ @@ -258,7 +258,7 @@ public ShippingInfoImportDraftBuilder deliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param deliveries value to be set * @return Builder */ @@ -273,7 +273,7 @@ public ShippingInfoImportDraftBuilder plusDeliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param builder function to build the deliveries value * @return Builder */ @@ -288,7 +288,7 @@ public ShippingInfoImportDraftBuilder plusDeliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param builder function to build the deliveries value * @return Builder */ @@ -301,7 +301,7 @@ public ShippingInfoImportDraftBuilder withDeliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param builder function to build the deliveries value * @return Builder */ @@ -312,7 +312,7 @@ public ShippingInfoImportDraftBuilder addDeliveries( } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @param builder function to build the deliveries value * @return Builder */ @@ -323,7 +323,7 @@ public ShippingInfoImportDraftBuilder setDeliveries( } /** - * set the value to the discountedPrice using the builder function + *

Maps to shippingInfo.discountedPrice.

* @param builder function to build the discountedPrice value * @return Builder */ @@ -337,7 +337,7 @@ public ShippingInfoImportDraftBuilder discountedPrice( } /** - * set the value to the discountedPrice using the builder function + *

Maps to shippingInfo.discountedPrice.

* @param builder function to build the discountedPrice value * @return Builder */ @@ -350,7 +350,7 @@ public ShippingInfoImportDraftBuilder withDiscountedPrice( } /** - * set the value to the discountedPrice + *

Maps to shippingInfo.discountedPrice.

* @param discountedPrice value to be set * @return Builder */ @@ -362,7 +362,7 @@ public ShippingInfoImportDraftBuilder discountedPrice( } /** - * set the value to the shippingMethodState + *

Maps to shippingInfo.shippingMethodState.

* @param shippingMethodState value to be set * @return Builder */ @@ -374,7 +374,7 @@ public ShippingInfoImportDraftBuilder shippingMethodState( } /** - * value of shippingMethodName} + *

Maps to shippingInfo.shippingMethodName.

* @return shippingMethodName */ @@ -383,7 +383,7 @@ public String getShippingMethodName() { } /** - * value of price} + *

Maps to shippingInfo.price.

* @return price */ @@ -392,7 +392,7 @@ public com.commercetools.importapi.models.common.TypedMoney getPrice() { } /** - * value of shippingRate} + *

Used to determine the price.

* @return shippingRate */ @@ -401,7 +401,7 @@ public com.commercetools.importapi.models.orders.ShippingRateDraft getShippingRa } /** - * value of taxRate} + *

Maps to shippingInfo.taxRate.

* @return taxRate */ @@ -411,7 +411,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @@ -421,7 +421,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

* @return shippingMethod */ @@ -431,7 +431,7 @@ public com.commercetools.importapi.models.common.ShippingMethodKeyReference getS } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

* @return deliveries */ @@ -441,7 +441,7 @@ public java.util.List getDel } /** - * value of discountedPrice} + *

Maps to shippingInfo.discountedPrice.

* @return discountedPrice */ @@ -451,7 +451,7 @@ public com.commercetools.importapi.models.orders.DiscountedLineItemPriceDraft ge } /** - * value of shippingMethodState} + *

Maps to shippingInfo.shippingMethodState.

* @return shippingMethodState */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java index efa0b68cc9b..2ca24195cfe 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingInfoImportDraftImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

Maps to an order's shippingInfo property. This field is usually populated by the cart associated with the order, but when importing orders you must provide a draft representation as a part of the OrderImport.

+ *

Maps to an Order's shippingInfo property. This field is usually populated by the Cart associated with the Order, but when importing Orders you must provide a draft representation as a part of the OrderImport.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ShippingInfoImportDraftImpl implements ShippingInfoImportDraft, ModelBase { @@ -71,7 +71,7 @@ public ShippingInfoImportDraftImpl() { } /** - * + *

Maps to shippingInfo.shippingMethodName.

*/ public String getShippingMethodName() { @@ -79,7 +79,7 @@ public String getShippingMethodName() { } /** - * + *

Maps to shippingInfo.price.

*/ public com.commercetools.importapi.models.common.TypedMoney getPrice() { @@ -87,7 +87,7 @@ public com.commercetools.importapi.models.common.TypedMoney getPrice() { } /** - * + *

Used to determine the price.

*/ public com.commercetools.importapi.models.orders.ShippingRateDraft getShippingRate() { @@ -95,7 +95,7 @@ public com.commercetools.importapi.models.orders.ShippingRateDraft getShippingRa } /** - * + *

Maps to shippingInfo.taxRate.

*/ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { @@ -103,7 +103,7 @@ public com.commercetools.importapi.models.prices.TaxRate getTaxRate() { } /** - *

References a tax category by key.

+ *

Maps to shippingInfo.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

*/ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxCategory() { @@ -111,7 +111,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

References a shipping method by key.

+ *

Maps to shippingInfo.shippingMethod. If the referenced ShippingMethod does not exist, the state of the ImportOperation will be set to unresolved until the referenced ShippingMethod is created.

*/ public com.commercetools.importapi.models.common.ShippingMethodKeyReference getShippingMethod() { @@ -119,7 +119,7 @@ public com.commercetools.importapi.models.common.ShippingMethodKeyReference getS } /** - *

Note that you can not add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

+ *

Maps to shippingInfo.deliveries. You cannot add a DeliveryItem on import, as LineItems and CustomLineItems are not yet referenceable by an id.

*/ public java.util.List getDeliveries() { @@ -127,7 +127,7 @@ public java.util.List getDel } /** - * + *

Maps to shippingInfo.discountedPrice.

*/ public com.commercetools.importapi.models.orders.DiscountedLineItemPriceDraft getDiscountedPrice() { @@ -135,7 +135,7 @@ public com.commercetools.importapi.models.orders.DiscountedLineItemPriceDraft ge } /** - * + *

Maps to shippingInfo.shippingMethodState.

*/ public com.commercetools.importapi.models.orders.ShippingMethodState getShippingMethodState() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraft.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraft.java index 1f97eb588fb..74909f45124 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraft.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraft.java @@ -35,7 +35,7 @@ public interface ShippingRateDraft extends io.vrap.rmf.base.client.Draft { /** - * + *

Currency amount of the ShippingRate.

* @return price */ @NotNull @@ -44,7 +44,7 @@ public interface ShippingRateDraft extends io.vrap.rmf.base.client.DraftFree shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @return freeAbove */ @Valid @@ -52,7 +52,7 @@ public interface ShippingRateDraft extends io.vrap.rmf.base.client.DraftPrice tiers for the ShippingRate.

* @return tiers */ @Valid @@ -60,21 +60,21 @@ public interface ShippingRateDraft extends io.vrap.rmf.base.client.Draft getTiers(); /** - * set price + *

Currency amount of the ShippingRate.

* @param price value to be set */ public void setPrice(final Money price); /** - * set freeAbove + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @param freeAbove value to be set */ public void setFreeAbove(final Money freeAbove); /** - * set tiers + *

Price tiers for the ShippingRate.

* @param tiers values to be set */ @@ -82,7 +82,7 @@ public interface ShippingRateDraft extends io.vrap.rmf.base.client.DraftPrice tiers for the ShippingRate.

* @param tiers values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftBuilder.java index b2e4b369160..7ae5d619b6c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftBuilder.java @@ -33,7 +33,7 @@ public class ShippingRateDraftBuilder implements Builder { private java.util.List tiers; /** - * set the value to the price using the builder function + *

Currency amount of the ShippingRate.

* @param builder function to build the price value * @return Builder */ @@ -45,7 +45,7 @@ public ShippingRateDraftBuilder price( } /** - * set the value to the price using the builder function + *

Currency amount of the ShippingRate.

* @param builder function to build the price value * @return Builder */ @@ -57,7 +57,7 @@ public ShippingRateDraftBuilder withPrice( } /** - * set the value to the price + *

Currency amount of the ShippingRate.

* @param price value to be set * @return Builder */ @@ -68,7 +68,7 @@ public ShippingRateDraftBuilder price(final com.commercetools.importapi.models.c } /** - * set the value to the freeAbove using the builder function + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @param builder function to build the freeAbove value * @return Builder */ @@ -80,7 +80,7 @@ public ShippingRateDraftBuilder freeAbove( } /** - * set the value to the freeAbove using the builder function + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @param builder function to build the freeAbove value * @return Builder */ @@ -92,7 +92,7 @@ public ShippingRateDraftBuilder withFreeAbove( } /** - * set the value to the freeAbove + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @param freeAbove value to be set * @return Builder */ @@ -104,7 +104,7 @@ public ShippingRateDraftBuilder freeAbove( } /** - * set values to the tiers + *

Price tiers for the ShippingRate.

* @param tiers value to be set * @return Builder */ @@ -116,7 +116,7 @@ public ShippingRateDraftBuilder tiers( } /** - * set value to the tiers + *

Price tiers for the ShippingRate.

* @param tiers value to be set * @return Builder */ @@ -128,7 +128,7 @@ public ShippingRateDraftBuilder tiers( } /** - * add values to the tiers + *

Price tiers for the ShippingRate.

* @param tiers value to be set * @return Builder */ @@ -143,7 +143,7 @@ public ShippingRateDraftBuilder plusTiers( } /** - * add a value to the tiers using the builder function + *

Price tiers for the ShippingRate.

* @param builder function to build the tiers value * @return Builder */ @@ -159,7 +159,7 @@ public ShippingRateDraftBuilder plusTiers( } /** - * set the value to the tiers using the builder function + *

Price tiers for the ShippingRate.

* @param builder function to build the tiers value * @return Builder */ @@ -173,7 +173,7 @@ public ShippingRateDraftBuilder withTiers( } /** - * value of price} + *

Currency amount of the ShippingRate.

* @return price */ @@ -182,7 +182,7 @@ public com.commercetools.importapi.models.common.Money getPrice() { } /** - * value of freeAbove} + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

* @return freeAbove */ @@ -192,7 +192,7 @@ public com.commercetools.importapi.models.common.Money getFreeAbove() { } /** - * value of tiers} + *

Price tiers for the ShippingRate.

* @return tiers */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java index db9db119b90..c8d6748effb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/ShippingRateDraftImpl.java @@ -47,7 +47,7 @@ public ShippingRateDraftImpl() { } /** - * + *

Currency amount of the ShippingRate.

*/ public com.commercetools.importapi.models.common.Money getPrice() { @@ -55,7 +55,7 @@ public com.commercetools.importapi.models.common.Money getPrice() { } /** - * + *

Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.

*/ public com.commercetools.importapi.models.common.Money getFreeAbove() { @@ -63,7 +63,7 @@ public com.commercetools.importapi.models.common.Money getFreeAbove() { } /** - * + *

Price tiers for the ShippingRate.

*/ public java.util.List getTiers() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfo.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfo.java index c6d64149ce6..f46b750ac92 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfo.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfo.java @@ -36,7 +36,7 @@ public interface SyncInfo { /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @NotNull @@ -61,7 +61,7 @@ public interface SyncInfo { public ZonedDateTime getSyncedAt(); /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoBuilder.java index a5822468427..03632d02688 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoBuilder.java @@ -33,7 +33,7 @@ public class SyncInfoBuilder implements Builder { private java.time.ZonedDateTime syncedAt; /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -45,7 +45,7 @@ public SyncInfoBuilder channel( } /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -57,7 +57,7 @@ public SyncInfoBuilder withChannel( } /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set * @return Builder */ @@ -90,7 +90,7 @@ public SyncInfoBuilder syncedAt(final java.time.ZonedDateTime syncedAt) { } /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java index dd9225531a8..79bebe49b6c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/SyncInfoImpl.java @@ -47,7 +47,7 @@ public SyncInfoImpl() { } /** - *

Maps to SyncInfo.channel

+ *

Maps to SyncInfo.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortion.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortion.java index df471e5696a..b3ad96800a7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortion.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortion.java @@ -35,7 +35,7 @@ public interface TaxPortion { /** - * + *

Name of the tax portion.

* @return name */ @@ -43,7 +43,7 @@ public interface TaxPortion { public String getName(); /** - * + *

A number in the range 0-1.

* @return rate */ @NotNull @@ -51,7 +51,7 @@ public interface TaxPortion { public Double getRate(); /** - * + *

Money value of the tax portion.

* @return amount */ @NotNull @@ -60,21 +60,21 @@ public interface TaxPortion { public TypedMoney getAmount(); /** - * set name + *

Name of the tax portion.

* @param name value to be set */ public void setName(final String name); /** - * set rate + *

A number in the range 0-1.

* @param rate value to be set */ public void setRate(final Double rate); /** - * set amount + *

Money value of the tax portion.

* @param amount value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionBuilder.java index c16e104107b..4f98f14dfe7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionBuilder.java @@ -33,7 +33,7 @@ public class TaxPortionBuilder implements Builder { private com.commercetools.importapi.models.common.TypedMoney amount; /** - * set the value to the name + *

Name of the tax portion.

* @param name value to be set * @return Builder */ @@ -44,7 +44,7 @@ public TaxPortionBuilder name(@Nullable final String name) { } /** - * set the value to the rate + *

A number in the range 0-1.

* @param rate value to be set * @return Builder */ @@ -55,7 +55,7 @@ public TaxPortionBuilder rate(final Double rate) { } /** - * set the value to the amount + *

Money value of the tax portion.

* @param amount value to be set * @return Builder */ @@ -66,7 +66,7 @@ public TaxPortionBuilder amount(final com.commercetools.importapi.models.common. } /** - * set the value to the amount using the builder function + *

Money value of the tax portion.

* @param builder function to build the amount value * @return Builder */ @@ -78,7 +78,7 @@ public TaxPortionBuilder amount( } /** - * value of name} + *

Name of the tax portion.

* @return name */ @@ -88,7 +88,7 @@ public String getName() { } /** - * value of rate} + *

A number in the range 0-1.

* @return rate */ @@ -97,7 +97,7 @@ public Double getRate() { } /** - * value of amount} + *

Money value of the tax portion.

* @return amount */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java index 9eb90d96c7f..fac999e2cb7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TaxPortionImpl.java @@ -46,7 +46,7 @@ public TaxPortionImpl() { } /** - * + *

Name of the tax portion.

*/ public String getName() { @@ -54,7 +54,7 @@ public String getName() { } /** - * + *

A number in the range 0-1.

*/ public Double getRate() { @@ -62,7 +62,7 @@ public Double getRate() { } /** - * + *

Money value of the tax portion.

*/ public com.commercetools.importapi.models.common.TypedMoney getAmount() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingData.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingData.java index 39d4d9c951a..c78ce3008b2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingData.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingData.java @@ -29,7 +29,7 @@ public interface TrackingData { /** - * + *

Identifier to track the Parcel.

* @return trackingId */ @@ -37,7 +37,7 @@ public interface TrackingData { public String getTrackingId(); /** - * + *

Name of the carrier that delivers the Parcel.

* @return carrier */ @@ -45,7 +45,7 @@ public interface TrackingData { public String getCarrier(); /** - * + *

Name of the provider that serves as facade to several carriers.

* @return provider */ @@ -53,7 +53,7 @@ public interface TrackingData { public String getProvider(); /** - * + *

Transaction identifier with the provider.

* @return providerTransaction */ @@ -61,7 +61,10 @@ public interface TrackingData { public String getProviderTransaction(); /** - * + *
    + *
  • If true, the Parcel is being returned.
  • + *
  • If false, the Parcel is being delivered to the customer.
  • + *
* @return isReturn */ @@ -69,35 +72,38 @@ public interface TrackingData { public Boolean getIsReturn(); /** - * set trackingId + *

Identifier to track the Parcel.

* @param trackingId value to be set */ public void setTrackingId(final String trackingId); /** - * set carrier + *

Name of the carrier that delivers the Parcel.

* @param carrier value to be set */ public void setCarrier(final String carrier); /** - * set provider + *

Name of the provider that serves as facade to several carriers.

* @param provider value to be set */ public void setProvider(final String provider); /** - * set providerTransaction + *

Transaction identifier with the provider.

* @param providerTransaction value to be set */ public void setProviderTransaction(final String providerTransaction); /** - * set isReturn + *
    + *
  • If true, the Parcel is being returned.
  • + *
  • If false, the Parcel is being delivered to the customer.
  • + *
* @param isReturn value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataBuilder.java index a2c2abf0437..e8c6b0a3297 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataBuilder.java @@ -38,7 +38,7 @@ public class TrackingDataBuilder implements Builder { private Boolean isReturn; /** - * set the value to the trackingId + *

Identifier to track the Parcel.

* @param trackingId value to be set * @return Builder */ @@ -49,7 +49,7 @@ public TrackingDataBuilder trackingId(@Nullable final String trackingId) { } /** - * set the value to the carrier + *

Name of the carrier that delivers the Parcel.

* @param carrier value to be set * @return Builder */ @@ -60,7 +60,7 @@ public TrackingDataBuilder carrier(@Nullable final String carrier) { } /** - * set the value to the provider + *

Name of the provider that serves as facade to several carriers.

* @param provider value to be set * @return Builder */ @@ -71,7 +71,7 @@ public TrackingDataBuilder provider(@Nullable final String provider) { } /** - * set the value to the providerTransaction + *

Transaction identifier with the provider.

* @param providerTransaction value to be set * @return Builder */ @@ -82,7 +82,10 @@ public TrackingDataBuilder providerTransaction(@Nullable final String providerTr } /** - * set the value to the isReturn + *
    + *
  • If true, the Parcel is being returned.
  • + *
  • If false, the Parcel is being delivered to the customer.
  • + *
* @param isReturn value to be set * @return Builder */ @@ -93,7 +96,7 @@ public TrackingDataBuilder isReturn(@Nullable final Boolean isReturn) { } /** - * value of trackingId} + *

Identifier to track the Parcel.

* @return trackingId */ @@ -103,7 +106,7 @@ public String getTrackingId() { } /** - * value of carrier} + *

Name of the carrier that delivers the Parcel.

* @return carrier */ @@ -113,7 +116,7 @@ public String getCarrier() { } /** - * value of provider} + *

Name of the provider that serves as facade to several carriers.

* @return provider */ @@ -123,7 +126,7 @@ public String getProvider() { } /** - * value of providerTransaction} + *

Transaction identifier with the provider.

* @return providerTransaction */ @@ -133,7 +136,10 @@ public String getProviderTransaction() { } /** - * value of isReturn} + *
    + *
  • If true, the Parcel is being returned.
  • + *
  • If false, the Parcel is being delivered to the customer.
  • + *
* @return isReturn */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java index cbdef974021..39fc8ef1cf2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/orders/TrackingDataImpl.java @@ -54,7 +54,7 @@ public TrackingDataImpl() { } /** - * + *

Identifier to track the Parcel.

*/ public String getTrackingId() { @@ -62,7 +62,7 @@ public String getTrackingId() { } /** - * + *

Name of the carrier that delivers the Parcel.

*/ public String getCarrier() { @@ -70,7 +70,7 @@ public String getCarrier() { } /** - * + *

Name of the provider that serves as facade to several carriers.

*/ public String getProvider() { @@ -78,7 +78,7 @@ public String getProvider() { } /** - * + *

Transaction identifier with the provider.

*/ public String getProviderTransaction() { @@ -86,7 +86,10 @@ public String getProviderTransaction() { } /** - * + *
    + *
  • If true, the Parcel is being returned.
  • + *
  • If false, the Parcel is being delivered to the customer.
  • + *
*/ public Boolean getIsReturn() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java index fd9949edd83..24904bba7de 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImport.java @@ -27,7 +27,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a price to be imported that is persisted as a Price in the Project.

+ *

Represents the data used to import an Embedded Price . Once imported, this data is persisted as a Price in a Product Variant.

* *
* Example to create an instance using the builder pattern @@ -47,7 +47,7 @@ public interface PriceImport extends ImportResource { /** - *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it will be updated with the imported data.

+ *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.

* @return key */ @NotNull @@ -88,7 +88,7 @@ public interface PriceImport extends ImportResource { public ZonedDateTime getValidUntil(); /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @Valid @@ -96,7 +96,7 @@ public interface PriceImport extends ImportResource { public CustomerGroupKeyReference getCustomerGroup(); /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @Valid @@ -131,7 +131,7 @@ public interface PriceImport extends ImportResource { public List getTiers(); /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @return custom */ @Valid @@ -139,7 +139,7 @@ public interface PriceImport extends ImportResource { public Custom getCustom(); /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @return productVariant */ @NotNull @@ -148,7 +148,7 @@ public interface PriceImport extends ImportResource { public ProductVariantKeyReference getProductVariant(); /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ @NotNull @@ -157,7 +157,7 @@ public interface PriceImport extends ImportResource { public ProductKeyReference getProduct(); /** - *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it will be updated with the imported data.

+ *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.

* @param key value to be set */ @@ -192,14 +192,14 @@ public interface PriceImport extends ImportResource { public void setValidUntil(final ZonedDateTime validUntil); /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set */ public void setCustomerGroup(final CustomerGroupKeyReference customerGroup); /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set */ @@ -238,21 +238,21 @@ public interface PriceImport extends ImportResource { public void setTiers(final List tiers); /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @param custom value to be set */ public void setCustom(final Custom custom); /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param productVariant value to be set */ public void setProductVariant(final ProductVariantKeyReference productVariant); /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java index 1f6b34b00f8..143ec719b93 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportBuilder.java @@ -63,7 +63,7 @@ public class PriceImportBuilder implements Builder { private com.commercetools.importapi.models.common.ProductKeyReference product; /** - *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it will be updated with the imported data.

+ *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -130,7 +130,7 @@ public PriceImportBuilder validUntil(@Nullable final java.time.ZonedDateTime val } /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -144,7 +144,7 @@ public PriceImportBuilder customerGroup( } /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -157,7 +157,7 @@ public PriceImportBuilder withCustomerGroup( } /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set * @return Builder */ @@ -169,7 +169,7 @@ public PriceImportBuilder customerGroup( } /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -181,7 +181,7 @@ public PriceImportBuilder channel( } /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -193,7 +193,7 @@ public PriceImportBuilder withChannel( } /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set * @return Builder */ @@ -342,7 +342,7 @@ public PriceImportBuilder setTiers( } /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @param builder function to build the custom value * @return Builder */ @@ -354,7 +354,7 @@ public PriceImportBuilder custom( } /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @param builder function to build the custom value * @return Builder */ @@ -366,7 +366,7 @@ public PriceImportBuilder withCustom( } /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @param custom value to be set * @return Builder */ @@ -377,7 +377,7 @@ public PriceImportBuilder custom(@Nullable final com.commercetools.importapi.mod } /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param builder function to build the productVariant value * @return Builder */ @@ -391,7 +391,7 @@ public PriceImportBuilder productVariant( } /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param builder function to build the productVariant value * @return Builder */ @@ -404,7 +404,7 @@ public PriceImportBuilder withProductVariant( } /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @param productVariant value to be set * @return Builder */ @@ -416,7 +416,7 @@ public PriceImportBuilder productVariant( } /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -428,7 +428,7 @@ public PriceImportBuilder product( } /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -440,7 +440,7 @@ public PriceImportBuilder withProduct( } /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set * @return Builder */ @@ -451,7 +451,7 @@ public PriceImportBuilder product(final com.commercetools.importapi.models.commo } /** - *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it will be updated with the imported data.

+ *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.

* @return key */ @@ -499,7 +499,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @@ -509,7 +509,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @@ -552,7 +552,7 @@ public java.util.List getTi } /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

* @return custom */ @@ -562,7 +562,7 @@ public com.commercetools.importapi.models.customfields.Custom getCustom() { } /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

* @return productVariant */ @@ -571,7 +571,7 @@ public com.commercetools.importapi.models.common.ProductVariantKeyReference getP } /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java index 62414a2c284..586eef9c2da 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/PriceImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a price to be imported that is persisted as a Price in the Project.

+ *

Represents the data used to import an Embedded Price . Once imported, this data is persisted as a Price in a Product Variant.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class PriceImportImpl implements PriceImport, ModelBase { @@ -87,7 +87,7 @@ public PriceImportImpl() { } /** - *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it will be updated with the imported data.

+ *

User-defined unique identifier for the Embedded Price. If a Price with this key exists on the specified productVariant, it is updated with the imported data.

*/ public String getKey() { @@ -127,7 +127,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

The Reference to the CustomerGroup with which the Price is associated. If referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the necessary CustomerGroup is created.

+ *

Maps to Price.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -135,7 +135,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

The Reference to the Channel with which the Price is associated. If referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the necessary Channel is created.

+ *

Maps to Price.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { @@ -170,7 +170,7 @@ public java.util.List getTi } /** - *

The custom fields for this price.

+ *

Maps to Price.custom.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { @@ -178,7 +178,7 @@ public com.commercetools.importapi.models.customfields.Custom getCustom() { } /** - *

The ProductVariant in which this Embedded Price is contained. The Reference to the ProductVariant with which the Price is associated. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

The ProductVariant which contains this Embedded Price. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductVariant is created.

*/ public com.commercetools.importapi.models.common.ProductVariantKeyReference getProductVariant() { @@ -186,7 +186,7 @@ public com.commercetools.importapi.models.common.ProductVariantKeyReference getP } /** - *

The Product in which the Product Variant containing this Embedded Price is contained. Maps to ProductVariant.product. The Reference to the Product with which the Price is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product which contains the productVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

*/ public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRate.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRate.java index bf97e411222..0bec9d31f58 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRate.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRate.java @@ -33,7 +33,7 @@ public interface SubRate { /** - * + *

Name of the SubRate.

* @return name */ @NotNull @@ -49,7 +49,7 @@ public interface SubRate { public Double getAmount(); /** - * set name + *

Name of the SubRate.

* @param name value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateBuilder.java index 68acadcb630..d976e7085d5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateBuilder.java @@ -27,7 +27,7 @@ public class SubRateBuilder implements Builder { private Double amount; /** - * set the value to the name + *

Name of the SubRate.

* @param name value to be set * @return Builder */ @@ -49,7 +49,7 @@ public SubRateBuilder amount(final Double amount) { } /** - * value of name} + *

Name of the SubRate.

* @return name */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java index cfc003fdb15..48e475b1d13 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/prices/SubRateImpl.java @@ -42,7 +42,7 @@ public SubRateImpl() { } /** - * + *

Name of the SubRate.

*/ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignment.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignment.java new file mode 100644 index 00000000000..846b850689f --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignment.java @@ -0,0 +1,164 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import com.commercetools.importapi.models.common.ProductKeyReference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; + +/** + *

An assignment of a product and either variantSelection or variantExclusion (not both).

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionAssignment productSelectionAssignment = ProductSelectionAssignment.builder()
+ *             .product(productBuilder -> productBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = ProductSelectionAssignmentImpl.class) +public interface ProductSelectionAssignment { + + /** + *

Reference to the Product by key.

+ * @return product + */ + @NotNull + @Valid + @JsonProperty("product") + public ProductKeyReference getProduct(); + + /** + *

Variant selection specifying included SKUs.

+ * @return variantSelection + */ + @Valid + @JsonProperty("variantSelection") + public VariantSelection getVariantSelection(); + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @return variantExclusion + */ + @Valid + @JsonProperty("variantExclusion") + public VariantExclusion getVariantExclusion(); + + /** + *

Reference to the Product by key.

+ * @param product value to be set + */ + + public void setProduct(final ProductKeyReference product); + + /** + *

Variant selection specifying included SKUs.

+ * @param variantSelection value to be set + */ + + public void setVariantSelection(final VariantSelection variantSelection); + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @param variantExclusion value to be set + */ + + public void setVariantExclusion(final VariantExclusion variantExclusion); + + /** + * factory method + * @return instance of ProductSelectionAssignment + */ + public static ProductSelectionAssignment of() { + return new ProductSelectionAssignmentImpl(); + } + + /** + * factory method to create a shallow copy ProductSelectionAssignment + * @param template instance to be copied + * @return copy instance + */ + public static ProductSelectionAssignment of(final ProductSelectionAssignment template) { + ProductSelectionAssignmentImpl instance = new ProductSelectionAssignmentImpl(); + instance.setProduct(template.getProduct()); + instance.setVariantSelection(template.getVariantSelection()); + instance.setVariantExclusion(template.getVariantExclusion()); + return instance; + } + + public ProductSelectionAssignment copyDeep(); + + /** + * factory method to create a deep copy of ProductSelectionAssignment + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static ProductSelectionAssignment deepCopy(@Nullable final ProductSelectionAssignment template) { + if (template == null) { + return null; + } + ProductSelectionAssignmentImpl instance = new ProductSelectionAssignmentImpl(); + instance.setProduct( + com.commercetools.importapi.models.common.ProductKeyReference.deepCopy(template.getProduct())); + instance.setVariantSelection(com.commercetools.importapi.models.product_selections.VariantSelection + .deepCopy(template.getVariantSelection())); + instance.setVariantExclusion(com.commercetools.importapi.models.product_selections.VariantExclusion + .deepCopy(template.getVariantExclusion())); + return instance; + } + + /** + * builder factory method for ProductSelectionAssignment + * @return builder + */ + public static ProductSelectionAssignmentBuilder builder() { + return ProductSelectionAssignmentBuilder.of(); + } + + /** + * create builder for ProductSelectionAssignment instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionAssignmentBuilder builder(final ProductSelectionAssignment template) { + return ProductSelectionAssignmentBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withProductSelectionAssignment(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentBuilder.java new file mode 100644 index 00000000000..08599495868 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentBuilder.java @@ -0,0 +1,216 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ProductSelectionAssignmentBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionAssignment productSelectionAssignment = ProductSelectionAssignment.builder()
+ *             .product(productBuilder -> productBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionAssignmentBuilder implements Builder { + + private com.commercetools.importapi.models.common.ProductKeyReference product; + + @Nullable + private com.commercetools.importapi.models.product_selections.VariantSelection variantSelection; + + @Nullable + private com.commercetools.importapi.models.product_selections.VariantExclusion variantExclusion; + + /** + *

Reference to the Product by key.

+ * @param builder function to build the product value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder product( + Function builder) { + this.product = builder.apply(com.commercetools.importapi.models.common.ProductKeyReferenceBuilder.of()).build(); + return this; + } + + /** + *

Reference to the Product by key.

+ * @param builder function to build the product value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder withProduct( + Function builder) { + this.product = builder.apply(com.commercetools.importapi.models.common.ProductKeyReferenceBuilder.of()); + return this; + } + + /** + *

Reference to the Product by key.

+ * @param product value to be set + * @return Builder + */ + + public ProductSelectionAssignmentBuilder product( + final com.commercetools.importapi.models.common.ProductKeyReference product) { + this.product = product; + return this; + } + + /** + *

Variant selection specifying included SKUs.

+ * @param builder function to build the variantSelection value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder variantSelection( + Function builder) { + this.variantSelection = builder + .apply(com.commercetools.importapi.models.product_selections.VariantSelectionBuilder.of()) + .build(); + return this; + } + + /** + *

Variant selection specifying included SKUs.

+ * @param builder function to build the variantSelection value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder withVariantSelection( + Function builder) { + this.variantSelection = builder + .apply(com.commercetools.importapi.models.product_selections.VariantSelectionBuilder.of()); + return this; + } + + /** + *

Variant selection specifying included SKUs.

+ * @param variantSelection value to be set + * @return Builder + */ + + public ProductSelectionAssignmentBuilder variantSelection( + @Nullable final com.commercetools.importapi.models.product_selections.VariantSelection variantSelection) { + this.variantSelection = variantSelection; + return this; + } + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @param builder function to build the variantExclusion value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder variantExclusion( + Function builder) { + this.variantExclusion = builder + .apply(com.commercetools.importapi.models.product_selections.VariantExclusionBuilder.of()) + .build(); + return this; + } + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @param builder function to build the variantExclusion value + * @return Builder + */ + + public ProductSelectionAssignmentBuilder withVariantExclusion( + Function builder) { + this.variantExclusion = builder + .apply(com.commercetools.importapi.models.product_selections.VariantExclusionBuilder.of()); + return this; + } + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @param variantExclusion value to be set + * @return Builder + */ + + public ProductSelectionAssignmentBuilder variantExclusion( + @Nullable final com.commercetools.importapi.models.product_selections.VariantExclusion variantExclusion) { + this.variantExclusion = variantExclusion; + return this; + } + + /** + *

Reference to the Product by key.

+ * @return product + */ + + public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { + return this.product; + } + + /** + *

Variant selection specifying included SKUs.

+ * @return variantSelection + */ + + @Nullable + public com.commercetools.importapi.models.product_selections.VariantSelection getVariantSelection() { + return this.variantSelection; + } + + /** + *

Variant exclusion specifying excluded SKUs.

+ * @return variantExclusion + */ + + @Nullable + public com.commercetools.importapi.models.product_selections.VariantExclusion getVariantExclusion() { + return this.variantExclusion; + } + + /** + * builds ProductSelectionAssignment with checking for non-null required values + * @return ProductSelectionAssignment + */ + public ProductSelectionAssignment build() { + Objects.requireNonNull(product, ProductSelectionAssignment.class + ": product is missing"); + return new ProductSelectionAssignmentImpl(product, variantSelection, variantExclusion); + } + + /** + * builds ProductSelectionAssignment without checking for non-null required values + * @return ProductSelectionAssignment + */ + public ProductSelectionAssignment buildUnchecked() { + return new ProductSelectionAssignmentImpl(product, variantSelection, variantExclusion); + } + + /** + * factory method for an instance of ProductSelectionAssignmentBuilder + * @return builder + */ + public static ProductSelectionAssignmentBuilder of() { + return new ProductSelectionAssignmentBuilder(); + } + + /** + * create builder for ProductSelectionAssignment instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionAssignmentBuilder of(final ProductSelectionAssignment template) { + ProductSelectionAssignmentBuilder builder = new ProductSelectionAssignmentBuilder(); + builder.product = template.getProduct(); + builder.variantSelection = template.getVariantSelection(); + builder.variantExclusion = template.getVariantExclusion(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentImpl.java new file mode 100644 index 00000000000..12e5175a6ce --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentImpl.java @@ -0,0 +1,127 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *

An assignment of a product and either variantSelection or variantExclusion (not both).

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionAssignmentImpl implements ProductSelectionAssignment, ModelBase { + + private com.commercetools.importapi.models.common.ProductKeyReference product; + + private com.commercetools.importapi.models.product_selections.VariantSelection variantSelection; + + private com.commercetools.importapi.models.product_selections.VariantExclusion variantExclusion; + + /** + * create instance with all properties + */ + @JsonCreator + ProductSelectionAssignmentImpl( + @JsonProperty("product") final com.commercetools.importapi.models.common.ProductKeyReference product, + @JsonProperty("variantSelection") final com.commercetools.importapi.models.product_selections.VariantSelection variantSelection, + @JsonProperty("variantExclusion") final com.commercetools.importapi.models.product_selections.VariantExclusion variantExclusion) { + this.product = product; + this.variantSelection = variantSelection; + this.variantExclusion = variantExclusion; + } + + /** + * create empty instance + */ + public ProductSelectionAssignmentImpl() { + } + + /** + *

Reference to the Product by key.

+ */ + + public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { + return this.product; + } + + /** + *

Variant selection specifying included SKUs.

+ */ + + public com.commercetools.importapi.models.product_selections.VariantSelection getVariantSelection() { + return this.variantSelection; + } + + /** + *

Variant exclusion specifying excluded SKUs.

+ */ + + public com.commercetools.importapi.models.product_selections.VariantExclusion getVariantExclusion() { + return this.variantExclusion; + } + + public void setProduct(final com.commercetools.importapi.models.common.ProductKeyReference product) { + this.product = product; + } + + public void setVariantSelection( + final com.commercetools.importapi.models.product_selections.VariantSelection variantSelection) { + this.variantSelection = variantSelection; + } + + public void setVariantExclusion( + final com.commercetools.importapi.models.product_selections.VariantExclusion variantExclusion) { + this.variantExclusion = variantExclusion; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ProductSelectionAssignmentImpl that = (ProductSelectionAssignmentImpl) o; + + return new EqualsBuilder().append(product, that.product) + .append(variantSelection, that.variantSelection) + .append(variantExclusion, that.variantExclusion) + .append(product, that.product) + .append(variantSelection, that.variantSelection) + .append(variantExclusion, that.variantExclusion) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(product) + .append(variantSelection) + .append(variantExclusion) + .toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("product", product) + .append("variantSelection", variantSelection) + .append("variantExclusion", variantExclusion) + .build(); + } + + @Override + public ProductSelectionAssignment copyDeep() { + return ProductSelectionAssignment.deepCopy(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImport.java new file mode 100644 index 00000000000..77fde4deb36 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImport.java @@ -0,0 +1,211 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; +import java.util.function.Function; +import java.util.stream.Collectors; + +import javax.annotation.Nullable; + +import com.commercetools.importapi.models.common.ImportResource; +import com.commercetools.importapi.models.common.LocalizedString; +import com.commercetools.importapi.models.customfields.Custom; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +import jakarta.validation.Valid; +import jakarta.validation.constraints.NotNull; + +/** + *

Represents the data used to import a ProductSelection. Once imported, this data is persisted as a ProductSelection in the Project.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionImport productSelectionImport = ProductSelectionImport.builder()
+ *             .key("{key}")
+ *             .name(nameBuilder -> nameBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = ProductSelectionImportImpl.class) +public interface ProductSelectionImport extends ImportResource { + + /** + *

User-defined unique identifier. If an ProductSelection with this key exists, it is updated with the imported data.

+ * @return key + */ + @NotNull + @JsonProperty("key") + public String getKey(); + + /** + *

Maps to ProductSelection.name.

+ * @return name + */ + @NotNull + @Valid + @JsonProperty("name") + public LocalizedString getName(); + + /** + *

Maps to ProductSelection.mode.

+ * @return mode + */ + + @JsonProperty("mode") + public ProductSelectionMode getMode(); + + /** + *

Maps to ProductSelection.custom.

+ * @return custom + */ + @Valid + @JsonProperty("custom") + public Custom getCustom(); + + /** + *

List of product assignments.

+ * @return assignments + */ + @Valid + @JsonProperty("assignments") + public List getAssignments(); + + /** + *

User-defined unique identifier. If an ProductSelection with this key exists, it is updated with the imported data.

+ * @param key value to be set + */ + + public void setKey(final String key); + + /** + *

Maps to ProductSelection.name.

+ * @param name value to be set + */ + + public void setName(final LocalizedString name); + + /** + *

Maps to ProductSelection.mode.

+ * @param mode value to be set + */ + + public void setMode(final ProductSelectionMode mode); + + /** + *

Maps to ProductSelection.custom.

+ * @param custom value to be set + */ + + public void setCustom(final Custom custom); + + /** + *

List of product assignments.

+ * @param assignments values to be set + */ + + @JsonIgnore + public void setAssignments(final ProductSelectionAssignment... assignments); + + /** + *

List of product assignments.

+ * @param assignments values to be set + */ + + public void setAssignments(final List assignments); + + /** + * factory method + * @return instance of ProductSelectionImport + */ + public static ProductSelectionImport of() { + return new ProductSelectionImportImpl(); + } + + /** + * factory method to create a shallow copy ProductSelectionImport + * @param template instance to be copied + * @return copy instance + */ + public static ProductSelectionImport of(final ProductSelectionImport template) { + ProductSelectionImportImpl instance = new ProductSelectionImportImpl(); + instance.setKey(template.getKey()); + instance.setName(template.getName()); + instance.setMode(template.getMode()); + instance.setCustom(template.getCustom()); + instance.setAssignments(template.getAssignments()); + return instance; + } + + public ProductSelectionImport copyDeep(); + + /** + * factory method to create a deep copy of ProductSelectionImport + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static ProductSelectionImport deepCopy(@Nullable final ProductSelectionImport template) { + if (template == null) { + return null; + } + ProductSelectionImportImpl instance = new ProductSelectionImportImpl(); + instance.setKey(template.getKey()); + instance.setName(com.commercetools.importapi.models.common.LocalizedString.deepCopy(template.getName())); + instance.setMode(template.getMode()); + instance.setCustom(com.commercetools.importapi.models.customfields.Custom.deepCopy(template.getCustom())); + instance.setAssignments(Optional.ofNullable(template.getAssignments()) + .map(t -> t.stream() + .map(com.commercetools.importapi.models.product_selections.ProductSelectionAssignment::deepCopy) + .collect(Collectors.toList())) + .orElse(null)); + return instance; + } + + /** + * builder factory method for ProductSelectionImport + * @return builder + */ + public static ProductSelectionImportBuilder builder() { + return ProductSelectionImportBuilder.of(); + } + + /** + * create builder for ProductSelectionImport instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionImportBuilder builder(final ProductSelectionImport template) { + return ProductSelectionImportBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withProductSelectionImport(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportBuilder.java new file mode 100644 index 00000000000..f0e77dbc515 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportBuilder.java @@ -0,0 +1,319 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * ProductSelectionImportBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     ProductSelectionImport productSelectionImport = ProductSelectionImport.builder()
+ *             .key("{key}")
+ *             .name(nameBuilder -> nameBuilder)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionImportBuilder implements Builder { + + private String key; + + private com.commercetools.importapi.models.common.LocalizedString name; + + @Nullable + private com.commercetools.importapi.models.product_selections.ProductSelectionMode mode; + + @Nullable + private com.commercetools.importapi.models.customfields.Custom custom; + + @Nullable + private java.util.List assignments; + + /** + *

User-defined unique identifier. If an ProductSelection with this key exists, it is updated with the imported data.

+ * @param key value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder key(final String key) { + this.key = key; + return this; + } + + /** + *

Maps to ProductSelection.name.

+ * @param builder function to build the name value + * @return Builder + */ + + public ProductSelectionImportBuilder name( + Function builder) { + this.name = builder.apply(com.commercetools.importapi.models.common.LocalizedStringBuilder.of()).build(); + return this; + } + + /** + *

Maps to ProductSelection.name.

+ * @param builder function to build the name value + * @return Builder + */ + + public ProductSelectionImportBuilder withName( + Function builder) { + this.name = builder.apply(com.commercetools.importapi.models.common.LocalizedStringBuilder.of()); + return this; + } + + /** + *

Maps to ProductSelection.name.

+ * @param name value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder name(final com.commercetools.importapi.models.common.LocalizedString name) { + this.name = name; + return this; + } + + /** + *

Maps to ProductSelection.mode.

+ * @param mode value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder mode( + @Nullable final com.commercetools.importapi.models.product_selections.ProductSelectionMode mode) { + this.mode = mode; + return this; + } + + /** + *

Maps to ProductSelection.custom.

+ * @param builder function to build the custom value + * @return Builder + */ + + public ProductSelectionImportBuilder custom( + Function builder) { + this.custom = builder.apply(com.commercetools.importapi.models.customfields.CustomBuilder.of()).build(); + return this; + } + + /** + *

Maps to ProductSelection.custom.

+ * @param builder function to build the custom value + * @return Builder + */ + + public ProductSelectionImportBuilder withCustom( + Function builder) { + this.custom = builder.apply(com.commercetools.importapi.models.customfields.CustomBuilder.of()); + return this; + } + + /** + *

Maps to ProductSelection.custom.

+ * @param custom value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder custom( + @Nullable final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + return this; + } + + /** + *

List of product assignments.

+ * @param assignments value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder assignments( + @Nullable final com.commercetools.importapi.models.product_selections.ProductSelectionAssignment... assignments) { + this.assignments = new ArrayList<>(Arrays.asList(assignments)); + return this; + } + + /** + *

List of product assignments.

+ * @param assignments value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder assignments( + @Nullable final java.util.List assignments) { + this.assignments = assignments; + return this; + } + + /** + *

List of product assignments.

+ * @param assignments value to be set + * @return Builder + */ + + public ProductSelectionImportBuilder plusAssignments( + @Nullable final com.commercetools.importapi.models.product_selections.ProductSelectionAssignment... assignments) { + if (this.assignments == null) { + this.assignments = new ArrayList<>(); + } + this.assignments.addAll(Arrays.asList(assignments)); + return this; + } + + /** + *

List of product assignments.

+ * @param builder function to build the assignments value + * @return Builder + */ + + public ProductSelectionImportBuilder plusAssignments( + Function builder) { + if (this.assignments == null) { + this.assignments = new ArrayList<>(); + } + this.assignments.add( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentBuilder.of()) + .build()); + return this; + } + + /** + *

List of product assignments.

+ * @param builder function to build the assignments value + * @return Builder + */ + + public ProductSelectionImportBuilder withAssignments( + Function builder) { + this.assignments = new ArrayList<>(); + this.assignments.add( + builder.apply(com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentBuilder.of()) + .build()); + return this; + } + + /** + *

List of product assignments.

+ * @param builder function to build the assignments value + * @return Builder + */ + + public ProductSelectionImportBuilder addAssignments( + Function builder) { + return plusAssignments(builder + .apply(com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentBuilder.of())); + } + + /** + *

List of product assignments.

+ * @param builder function to build the assignments value + * @return Builder + */ + + public ProductSelectionImportBuilder setAssignments( + Function builder) { + return assignments(builder + .apply(com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentBuilder.of())); + } + + /** + *

User-defined unique identifier. If an ProductSelection with this key exists, it is updated with the imported data.

+ * @return key + */ + + public String getKey() { + return this.key; + } + + /** + *

Maps to ProductSelection.name.

+ * @return name + */ + + public com.commercetools.importapi.models.common.LocalizedString getName() { + return this.name; + } + + /** + *

Maps to ProductSelection.mode.

+ * @return mode + */ + + @Nullable + public com.commercetools.importapi.models.product_selections.ProductSelectionMode getMode() { + return this.mode; + } + + /** + *

Maps to ProductSelection.custom.

+ * @return custom + */ + + @Nullable + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + + /** + *

List of product assignments.

+ * @return assignments + */ + + @Nullable + public java.util.List getAssignments() { + return this.assignments; + } + + /** + * builds ProductSelectionImport with checking for non-null required values + * @return ProductSelectionImport + */ + public ProductSelectionImport build() { + Objects.requireNonNull(key, ProductSelectionImport.class + ": key is missing"); + Objects.requireNonNull(name, ProductSelectionImport.class + ": name is missing"); + return new ProductSelectionImportImpl(key, name, mode, custom, assignments); + } + + /** + * builds ProductSelectionImport without checking for non-null required values + * @return ProductSelectionImport + */ + public ProductSelectionImport buildUnchecked() { + return new ProductSelectionImportImpl(key, name, mode, custom, assignments); + } + + /** + * factory method for an instance of ProductSelectionImportBuilder + * @return builder + */ + public static ProductSelectionImportBuilder of() { + return new ProductSelectionImportBuilder(); + } + + /** + * create builder for ProductSelectionImport instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static ProductSelectionImportBuilder of(final ProductSelectionImport template) { + ProductSelectionImportBuilder builder = new ProductSelectionImportBuilder(); + builder.key = template.getKey(); + builder.name = template.getName(); + builder.mode = template.getMode(); + builder.custom = template.getCustom(); + builder.assignments = template.getAssignments(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportImpl.java new file mode 100644 index 00000000000..efc7ae907a8 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportImpl.java @@ -0,0 +1,170 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *

Represents the data used to import a ProductSelection. Once imported, this data is persisted as a ProductSelection in the Project.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ProductSelectionImportImpl implements ProductSelectionImport, ModelBase { + + private String key; + + private com.commercetools.importapi.models.common.LocalizedString name; + + private com.commercetools.importapi.models.product_selections.ProductSelectionMode mode; + + private com.commercetools.importapi.models.customfields.Custom custom; + + private java.util.List assignments; + + /** + * create instance with all properties + */ + @JsonCreator + ProductSelectionImportImpl(@JsonProperty("key") final String key, + @JsonProperty("name") final com.commercetools.importapi.models.common.LocalizedString name, + @JsonProperty("mode") final com.commercetools.importapi.models.product_selections.ProductSelectionMode mode, + @JsonProperty("custom") final com.commercetools.importapi.models.customfields.Custom custom, + @JsonProperty("assignments") final java.util.List assignments) { + this.key = key; + this.name = name; + this.mode = mode; + this.custom = custom; + this.assignments = assignments; + } + + /** + * create empty instance + */ + public ProductSelectionImportImpl() { + } + + /** + *

User-defined unique identifier. If an ProductSelection with this key exists, it is updated with the imported data.

+ */ + + public String getKey() { + return this.key; + } + + /** + *

Maps to ProductSelection.name.

+ */ + + public com.commercetools.importapi.models.common.LocalizedString getName() { + return this.name; + } + + /** + *

Maps to ProductSelection.mode.

+ */ + + public com.commercetools.importapi.models.product_selections.ProductSelectionMode getMode() { + return this.mode; + } + + /** + *

Maps to ProductSelection.custom.

+ */ + + public com.commercetools.importapi.models.customfields.Custom getCustom() { + return this.custom; + } + + /** + *

List of product assignments.

+ */ + + public java.util.List getAssignments() { + return this.assignments; + } + + public void setKey(final String key) { + this.key = key; + } + + public void setName(final com.commercetools.importapi.models.common.LocalizedString name) { + this.name = name; + } + + public void setMode(final com.commercetools.importapi.models.product_selections.ProductSelectionMode mode) { + this.mode = mode; + } + + public void setCustom(final com.commercetools.importapi.models.customfields.Custom custom) { + this.custom = custom; + } + + public void setAssignments( + final com.commercetools.importapi.models.product_selections.ProductSelectionAssignment... assignments) { + this.assignments = new ArrayList<>(Arrays.asList(assignments)); + } + + public void setAssignments( + final java.util.List assignments) { + this.assignments = assignments; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + ProductSelectionImportImpl that = (ProductSelectionImportImpl) o; + + return new EqualsBuilder().append(key, that.key) + .append(name, that.name) + .append(mode, that.mode) + .append(custom, that.custom) + .append(assignments, that.assignments) + .append(key, that.key) + .append(name, that.name) + .append(mode, that.mode) + .append(custom, that.custom) + .append(assignments, that.assignments) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(key) + .append(name) + .append(mode) + .append(custom) + .append(assignments) + .toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("key", key) + .append("name", name) + .append("mode", mode) + .append("custom", custom) + .append("assignments", assignments) + .build(); + } + + @Override + public ProductSelectionImport copyDeep() { + return ProductSelectionImport.deepCopy(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionMode.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionMode.java new file mode 100644 index 00000000000..421d891c4df --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionMode.java @@ -0,0 +1,116 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.Arrays; +import java.util.Optional; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +import io.vrap.rmf.base.client.JsonEnum; +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

Product Selections can have the following modes:

+ *
    + *
  • Individual: Products must be explicitly assigned.
  • + *
  • IndividualExclusion: Products are included unless explicitly excluded.
  • + *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public interface ProductSelectionMode extends JsonEnum { + + ProductSelectionMode INDIVIDUAL = ProductSelectionModeEnum.INDIVIDUAL; + + ProductSelectionMode INDIVIDUAL_EXCLUSION = ProductSelectionModeEnum.INDIVIDUAL_EXCLUSION; + + /** + * possible values of ProductSelectionMode + */ + enum ProductSelectionModeEnum implements ProductSelectionMode { + /** + * Individual + */ + INDIVIDUAL("Individual"), + + /** + * IndividualExclusion + */ + INDIVIDUAL_EXCLUSION("IndividualExclusion"); + private final String jsonName; + + private ProductSelectionModeEnum(final String jsonName) { + this.jsonName = jsonName; + } + + public String getJsonName() { + return jsonName; + } + + public String toString() { + return jsonName; + } + } + + /** + * the JSON value + * @return json value + */ + @JsonValue + String getJsonName(); + + /** + * the enum value + * @return name + */ + String name(); + + /** + * convert value to string + * @return string representation + */ + String toString(); + + /** + * factory method for a enum value of ProductSelectionMode + * if no enum has been found an anonymous instance will be created + * @param value the enum value to be wrapped + * @return enum instance + */ + @JsonCreator + public static ProductSelectionMode findEnum(String value) { + return findEnumViaJsonName(value).orElse(new ProductSelectionMode() { + @Override + public String getJsonName() { + return value; + } + + @Override + public String name() { + return value.toUpperCase(); + } + + public String toString() { + return value; + } + }); + } + + /** + * method to find enum using the JSON value + * @param jsonName the json value to be wrapped + * @return optional of enum instance + */ + public static Optional findEnumViaJsonName(String jsonName) { + return Arrays.stream(values()).filter(t -> t.getJsonName().equals(jsonName)).findFirst(); + } + + /** + * possible enum values + * @return array of possible enum values + */ + public static ProductSelectionMode[] values() { + return ProductSelectionModeEnum.values(); + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusion.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusion.java new file mode 100644 index 00000000000..f0e43101746 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusion.java @@ -0,0 +1,129 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

Defines which Variants of the Product will be excluded from the Product Selection. If not supplied all Variants are deemed to be excluded.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     VariantExclusion variantExclusion = VariantExclusion.builder()
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = VariantExclusionImpl.class) +public interface VariantExclusion { + + /** + *

List of SKUs to be excluded.

+ * @return skus + */ + + @JsonProperty("skus") + public List getSkus(); + + /** + *

List of SKUs to be excluded.

+ * @param skus values to be set + */ + + @JsonIgnore + public void setSkus(final String... skus); + + /** + *

List of SKUs to be excluded.

+ * @param skus values to be set + */ + + public void setSkus(final List skus); + + /** + * factory method + * @return instance of VariantExclusion + */ + public static VariantExclusion of() { + return new VariantExclusionImpl(); + } + + /** + * factory method to create a shallow copy VariantExclusion + * @param template instance to be copied + * @return copy instance + */ + public static VariantExclusion of(final VariantExclusion template) { + VariantExclusionImpl instance = new VariantExclusionImpl(); + instance.setSkus(template.getSkus()); + return instance; + } + + public VariantExclusion copyDeep(); + + /** + * factory method to create a deep copy of VariantExclusion + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static VariantExclusion deepCopy(@Nullable final VariantExclusion template) { + if (template == null) { + return null; + } + VariantExclusionImpl instance = new VariantExclusionImpl(); + instance.setSkus(Optional.ofNullable(template.getSkus()).map(ArrayList::new).orElse(null)); + return instance; + } + + /** + * builder factory method for VariantExclusion + * @return builder + */ + public static VariantExclusionBuilder builder() { + return VariantExclusionBuilder.of(); + } + + /** + * create builder for VariantExclusion instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static VariantExclusionBuilder builder(final VariantExclusion template) { + return VariantExclusionBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withVariantExclusion(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionBuilder.java new file mode 100644 index 00000000000..fbdab538c71 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionBuilder.java @@ -0,0 +1,109 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.*; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * VariantExclusionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     VariantExclusion variantExclusion = VariantExclusion.builder()
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class VariantExclusionBuilder implements Builder { + + @Nullable + private java.util.List skus; + + /** + *

List of SKUs to be excluded.

+ * @param skus value to be set + * @return Builder + */ + + public VariantExclusionBuilder skus(@Nullable final String... skus) { + this.skus = new ArrayList<>(Arrays.asList(skus)); + return this; + } + + /** + *

List of SKUs to be excluded.

+ * @param skus value to be set + * @return Builder + */ + + public VariantExclusionBuilder skus(@Nullable final java.util.List skus) { + this.skus = skus; + return this; + } + + /** + *

List of SKUs to be excluded.

+ * @param skus value to be set + * @return Builder + */ + + public VariantExclusionBuilder plusSkus(@Nullable final String... skus) { + if (this.skus == null) { + this.skus = new ArrayList<>(); + } + this.skus.addAll(Arrays.asList(skus)); + return this; + } + + /** + *

List of SKUs to be excluded.

+ * @return skus + */ + + @Nullable + public java.util.List getSkus() { + return this.skus; + } + + /** + * builds VariantExclusion with checking for non-null required values + * @return VariantExclusion + */ + public VariantExclusion build() { + return new VariantExclusionImpl(skus); + } + + /** + * builds VariantExclusion without checking for non-null required values + * @return VariantExclusion + */ + public VariantExclusion buildUnchecked() { + return new VariantExclusionImpl(skus); + } + + /** + * factory method for an instance of VariantExclusionBuilder + * @return builder + */ + public static VariantExclusionBuilder of() { + return new VariantExclusionBuilder(); + } + + /** + * create builder for VariantExclusion instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static VariantExclusionBuilder of(final VariantExclusion template) { + VariantExclusionBuilder builder = new VariantExclusionBuilder(); + builder.skus = template.getSkus(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionImpl.java new file mode 100644 index 00000000000..eabb5fec26b --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionImpl.java @@ -0,0 +1,84 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *

Defines which Variants of the Product will be excluded from the Product Selection. If not supplied all Variants are deemed to be excluded.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class VariantExclusionImpl implements VariantExclusion, ModelBase { + + private java.util.List skus; + + /** + * create instance with all properties + */ + @JsonCreator + VariantExclusionImpl(@JsonProperty("skus") final java.util.List skus) { + this.skus = skus; + } + + /** + * create empty instance + */ + public VariantExclusionImpl() { + } + + /** + *

List of SKUs to be excluded.

+ */ + + public java.util.List getSkus() { + return this.skus; + } + + public void setSkus(final String... skus) { + this.skus = new ArrayList<>(Arrays.asList(skus)); + } + + public void setSkus(final java.util.List skus) { + this.skus = skus; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + VariantExclusionImpl that = (VariantExclusionImpl) o; + + return new EqualsBuilder().append(skus, that.skus).append(skus, that.skus).isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(skus).toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("skus", skus).build(); + } + + @Override + public VariantExclusion copyDeep() { + return VariantExclusion.deepCopy(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelection.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelection.java new file mode 100644 index 00000000000..fb3f38882a1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelection.java @@ -0,0 +1,149 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; + +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +import jakarta.validation.constraints.NotNull; + +/** + *

Variant selection specifying how variants are included or excluded.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     VariantSelection variantSelection = VariantSelection.builder()
+ *             .type(VariantSelectionType.INCLUDE_ONLY)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = VariantSelectionImpl.class) +public interface VariantSelection { + + /** + *

Type of variant selection.

+ * @return type + */ + @NotNull + @JsonProperty("type") + public VariantSelectionType getType(); + + /** + *

List of SKUs to include or exclude.

+ * @return skus + */ + + @JsonProperty("skus") + public List getSkus(); + + /** + *

Type of variant selection.

+ * @param type value to be set + */ + + public void setType(final VariantSelectionType type); + + /** + *

List of SKUs to include or exclude.

+ * @param skus values to be set + */ + + @JsonIgnore + public void setSkus(final String... skus); + + /** + *

List of SKUs to include or exclude.

+ * @param skus values to be set + */ + + public void setSkus(final List skus); + + /** + * factory method + * @return instance of VariantSelection + */ + public static VariantSelection of() { + return new VariantSelectionImpl(); + } + + /** + * factory method to create a shallow copy VariantSelection + * @param template instance to be copied + * @return copy instance + */ + public static VariantSelection of(final VariantSelection template) { + VariantSelectionImpl instance = new VariantSelectionImpl(); + instance.setType(template.getType()); + instance.setSkus(template.getSkus()); + return instance; + } + + public VariantSelection copyDeep(); + + /** + * factory method to create a deep copy of VariantSelection + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static VariantSelection deepCopy(@Nullable final VariantSelection template) { + if (template == null) { + return null; + } + VariantSelectionImpl instance = new VariantSelectionImpl(); + instance.setType(template.getType()); + instance.setSkus(Optional.ofNullable(template.getSkus()).map(ArrayList::new).orElse(null)); + return instance; + } + + /** + * builder factory method for VariantSelection + * @return builder + */ + public static VariantSelectionBuilder builder() { + return VariantSelectionBuilder.of(); + } + + /** + * create builder for VariantSelection instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static VariantSelectionBuilder builder(final VariantSelection template) { + return VariantSelectionBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withVariantSelection(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionBuilder.java new file mode 100644 index 00000000000..26100d29d87 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionBuilder.java @@ -0,0 +1,135 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.*; + +import javax.annotation.Nullable; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * VariantSelectionBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     VariantSelection variantSelection = VariantSelection.builder()
+ *             .type(VariantSelectionType.INCLUDE_ONLY)
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class VariantSelectionBuilder implements Builder { + + private com.commercetools.importapi.models.product_selections.VariantSelectionType type; + + @Nullable + private java.util.List skus; + + /** + *

Type of variant selection.

+ * @param type value to be set + * @return Builder + */ + + public VariantSelectionBuilder type( + final com.commercetools.importapi.models.product_selections.VariantSelectionType type) { + this.type = type; + return this; + } + + /** + *

List of SKUs to include or exclude.

+ * @param skus value to be set + * @return Builder + */ + + public VariantSelectionBuilder skus(@Nullable final String... skus) { + this.skus = new ArrayList<>(Arrays.asList(skus)); + return this; + } + + /** + *

List of SKUs to include or exclude.

+ * @param skus value to be set + * @return Builder + */ + + public VariantSelectionBuilder skus(@Nullable final java.util.List skus) { + this.skus = skus; + return this; + } + + /** + *

List of SKUs to include or exclude.

+ * @param skus value to be set + * @return Builder + */ + + public VariantSelectionBuilder plusSkus(@Nullable final String... skus) { + if (this.skus == null) { + this.skus = new ArrayList<>(); + } + this.skus.addAll(Arrays.asList(skus)); + return this; + } + + /** + *

Type of variant selection.

+ * @return type + */ + + public com.commercetools.importapi.models.product_selections.VariantSelectionType getType() { + return this.type; + } + + /** + *

List of SKUs to include or exclude.

+ * @return skus + */ + + @Nullable + public java.util.List getSkus() { + return this.skus; + } + + /** + * builds VariantSelection with checking for non-null required values + * @return VariantSelection + */ + public VariantSelection build() { + Objects.requireNonNull(type, VariantSelection.class + ": type is missing"); + return new VariantSelectionImpl(type, skus); + } + + /** + * builds VariantSelection without checking for non-null required values + * @return VariantSelection + */ + public VariantSelection buildUnchecked() { + return new VariantSelectionImpl(type, skus); + } + + /** + * factory method for an instance of VariantSelectionBuilder + * @return builder + */ + public static VariantSelectionBuilder of() { + return new VariantSelectionBuilder(); + } + + /** + * create builder for VariantSelection instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static VariantSelectionBuilder of(final VariantSelection template) { + VariantSelectionBuilder builder = new VariantSelectionBuilder(); + builder.type = template.getType(); + builder.skus = template.getSkus(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionImpl.java new file mode 100644 index 00000000000..4cb430d2243 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionImpl.java @@ -0,0 +1,107 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.time.*; +import java.util.*; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +/** + *

Variant selection specifying how variants are included or excluded.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class VariantSelectionImpl implements VariantSelection, ModelBase { + + private com.commercetools.importapi.models.product_selections.VariantSelectionType type; + + private java.util.List skus; + + /** + * create instance with all properties + */ + @JsonCreator + VariantSelectionImpl( + @JsonProperty("type") final com.commercetools.importapi.models.product_selections.VariantSelectionType type, + @JsonProperty("skus") final java.util.List skus) { + this.type = type; + this.skus = skus; + } + + /** + * create empty instance + */ + public VariantSelectionImpl() { + } + + /** + *

Type of variant selection.

+ */ + + public com.commercetools.importapi.models.product_selections.VariantSelectionType getType() { + return this.type; + } + + /** + *

List of SKUs to include or exclude.

+ */ + + public java.util.List getSkus() { + return this.skus; + } + + public void setType(final com.commercetools.importapi.models.product_selections.VariantSelectionType type) { + this.type = type; + } + + public void setSkus(final String... skus) { + this.skus = new ArrayList<>(Arrays.asList(skus)); + } + + public void setSkus(final java.util.List skus) { + this.skus = skus; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + VariantSelectionImpl that = (VariantSelectionImpl) o; + + return new EqualsBuilder().append(type, that.type) + .append(skus, that.skus) + .append(type, that.type) + .append(skus, that.skus) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(type).append(skus).toHashCode(); + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("type", type) + .append("skus", skus) + .build(); + } + + @Override + public VariantSelection copyDeep() { + return VariantSelection.deepCopy(this); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionType.java new file mode 100644 index 00000000000..cb7800a1270 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionType.java @@ -0,0 +1,115 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.Arrays; +import java.util.Optional; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +import io.vrap.rmf.base.client.JsonEnum; +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

Defines how variants are selected for the product.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public interface VariantSelectionType extends JsonEnum { + + /** +

Only the specified SKUs are included.

*/ + VariantSelectionType INCLUDE_ONLY = VariantSelectionTypeEnum.INCLUDE_ONLY; + /** +

All variants except the specified SKUs are included.

*/ + VariantSelectionType INCLUDE_ALL_EXCEPT = VariantSelectionTypeEnum.INCLUDE_ALL_EXCEPT; + + /** + * possible values of VariantSelectionType + */ + enum VariantSelectionTypeEnum implements VariantSelectionType { + /** + * includeOnly + */ + INCLUDE_ONLY("includeOnly"), + + /** + * includeAllExcept + */ + INCLUDE_ALL_EXCEPT("includeAllExcept"); + private final String jsonName; + + private VariantSelectionTypeEnum(final String jsonName) { + this.jsonName = jsonName; + } + + public String getJsonName() { + return jsonName; + } + + public String toString() { + return jsonName; + } + } + + /** + * the JSON value + * @return json value + */ + @JsonValue + String getJsonName(); + + /** + * the enum value + * @return name + */ + String name(); + + /** + * convert value to string + * @return string representation + */ + String toString(); + + /** + * factory method for a enum value of VariantSelectionType + * if no enum has been found an anonymous instance will be created + * @param value the enum value to be wrapped + * @return enum instance + */ + @JsonCreator + public static VariantSelectionType findEnum(String value) { + return findEnumViaJsonName(value).orElse(new VariantSelectionType() { + @Override + public String getJsonName() { + return value; + } + + @Override + public String name() { + return value.toUpperCase(); + } + + public String toString() { + return value; + } + }); + } + + /** + * method to find enum using the JSON value + * @param jsonName the json value to be wrapped + * @return optional of enum instance + */ + public static Optional findEnumViaJsonName(String jsonName) { + return Arrays.stream(values()).filter(t -> t.getJsonName().equals(jsonName)).findFirst(); + } + + /** + * possible enum values + * @return array of possible enum values + */ + public static VariantSelectionType[] values() { + return VariantSelectionTypeEnum.values(); + } + +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImport.java index cac3c61ee00..6e405db062d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImport.java @@ -42,7 +42,7 @@ public interface PriceDraftImport { /** - * + *

Money value of this Price.

* @return value */ @NotNull @@ -51,7 +51,7 @@ public interface PriceDraftImport { public TypedMoney getValue(); /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Set this field if this Price is only valid for the specified country.

* @return country */ @@ -59,7 +59,7 @@ public interface PriceDraftImport { public String getCountry(); /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @Valid @@ -67,7 +67,7 @@ public interface PriceDraftImport { public CustomerGroupKeyReference getCustomerGroup(); /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @Valid @@ -75,7 +75,7 @@ public interface PriceDraftImport { public ChannelKeyReference getChannel(); /** - * + *

Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

* @return validFrom */ @@ -83,7 +83,7 @@ public interface PriceDraftImport { public ZonedDateTime getValidFrom(); /** - * + *

Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

* @return validUntil */ @@ -91,7 +91,7 @@ public interface PriceDraftImport { public ZonedDateTime getValidUntil(); /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @return custom */ @Valid @@ -99,7 +99,7 @@ public interface PriceDraftImport { public Custom getCustom(); /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @return discounted */ @Valid @@ -123,56 +123,56 @@ public interface PriceDraftImport { public String getKey(); /** - * set value + *

Money value of this Price.

* @param value value to be set */ public void setValue(final TypedMoney value); /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Set this field if this Price is only valid for the specified country.

* @param country value to be set */ public void setCountry(final String country); /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set */ public void setCustomerGroup(final CustomerGroupKeyReference customerGroup); /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set */ public void setChannel(final ChannelKeyReference channel); /** - * set validFrom + *

Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

* @param validFrom value to be set */ public void setValidFrom(final ZonedDateTime validFrom); /** - * set validUntil + *

Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

* @param validUntil value to be set */ public void setValidUntil(final ZonedDateTime validUntil); /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @param custom value to be set */ public void setCustom(final Custom custom); /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @param discounted value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportBuilder.java index 7a21037a607..e96e35e68b8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportBuilder.java @@ -54,7 +54,7 @@ public class PriceDraftImportBuilder implements Builder { private String key; /** - * set the value to the value + *

Money value of this Price.

* @param value value to be set * @return Builder */ @@ -65,7 +65,7 @@ public PriceDraftImportBuilder value(final com.commercetools.importapi.models.co } /** - * set the value to the value using the builder function + *

Money value of this Price.

* @param builder function to build the value value * @return Builder */ @@ -77,7 +77,7 @@ public PriceDraftImportBuilder value( } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Set this field if this Price is only valid for the specified country.

* @param country value to be set * @return Builder */ @@ -88,7 +88,7 @@ public PriceDraftImportBuilder country(@Nullable final String country) { } /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -102,7 +102,7 @@ public PriceDraftImportBuilder customerGroup( } /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param builder function to build the customerGroup value * @return Builder */ @@ -115,7 +115,7 @@ public PriceDraftImportBuilder withCustomerGroup( } /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @param customerGroup value to be set * @return Builder */ @@ -127,7 +127,7 @@ public PriceDraftImportBuilder customerGroup( } /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -139,7 +139,7 @@ public PriceDraftImportBuilder channel( } /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param builder function to build the channel value * @return Builder */ @@ -151,7 +151,7 @@ public PriceDraftImportBuilder withChannel( } /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @param channel value to be set * @return Builder */ @@ -163,7 +163,7 @@ public PriceDraftImportBuilder channel( } /** - * set the value to the validFrom + *

Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

* @param validFrom value to be set * @return Builder */ @@ -174,7 +174,7 @@ public PriceDraftImportBuilder validFrom(@Nullable final java.time.ZonedDateTime } /** - * set the value to the validUntil + *

Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

* @param validUntil value to be set * @return Builder */ @@ -185,7 +185,7 @@ public PriceDraftImportBuilder validUntil(@Nullable final java.time.ZonedDateTim } /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @param builder function to build the custom value * @return Builder */ @@ -197,7 +197,7 @@ public PriceDraftImportBuilder custom( } /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @param builder function to build the custom value * @return Builder */ @@ -209,7 +209,7 @@ public PriceDraftImportBuilder withCustom( } /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @param custom value to be set * @return Builder */ @@ -221,7 +221,7 @@ public PriceDraftImportBuilder custom( } /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @param builder function to build the discounted value * @return Builder */ @@ -233,7 +233,7 @@ public PriceDraftImportBuilder discounted( } /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @param builder function to build the discounted value * @return Builder */ @@ -245,7 +245,7 @@ public PriceDraftImportBuilder withDiscounted( } /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @param discounted value to be set * @return Builder */ @@ -356,7 +356,7 @@ public PriceDraftImportBuilder key(final String key) { } /** - * value of value} + *

Money value of this Price.

* @return value */ @@ -365,7 +365,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Set this field if this Price is only valid for the specified country.

* @return country */ @@ -375,7 +375,7 @@ public String getCountry() { } /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

* @return customerGroup */ @@ -385,7 +385,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

* @return channel */ @@ -395,7 +395,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel( } /** - * value of validFrom} + *

Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

* @return validFrom */ @@ -405,7 +405,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - * value of validUntil} + *

Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

* @return validUntil */ @@ -415,7 +415,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

* @return custom */ @@ -425,7 +425,7 @@ public com.commercetools.importapi.models.customfields.Custom getCustom() { } /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

* @return discounted */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java index 1e69085bfb2..4e6e0216677 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/PriceDraftImportImpl.java @@ -75,7 +75,7 @@ public PriceDraftImportImpl() { } /** - * + *

Money value of this Price.

*/ public com.commercetools.importapi.models.common.TypedMoney getValue() { @@ -83,7 +83,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

A two-digit country code as per ISO 3166-1 alpha-2.

+ *

Set this field if this Price is only valid for the specified country.

*/ public String getCountry() { @@ -91,7 +91,7 @@ public String getCountry() { } /** - *

References a customer group by key.

+ *

Set this field if this Price is only valid for the referenced CustomerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

*/ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -99,7 +99,7 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

References a channel by key.

+ *

Set this field if this Price is only valid for the referenced ProductDistribution Channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

*/ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { @@ -107,7 +107,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel( } /** - * + *

Set this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil.

*/ public java.time.ZonedDateTime getValidFrom() { @@ -115,7 +115,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - * + *

Set this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom.

*/ public java.time.ZonedDateTime getValidUntil() { @@ -123,7 +123,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

The custom fields for this category.

+ *

Custom Fields for the Embedded Price.

*/ public com.commercetools.importapi.models.customfields.Custom getCustom() { @@ -131,7 +131,7 @@ public com.commercetools.importapi.models.customfields.Custom getCustom() { } /** - *

Sets a discounted price from an external service.

+ *

Set this field to add a DiscountedPrice from an external service.

*/ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImport.java index f9c1c4b45ef..65ac46420ac 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImport.java @@ -46,7 +46,7 @@ public interface ProductDraftImport extends ImportResource { /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -54,7 +54,7 @@ public interface ProductDraftImport extends ImportResource { public String getKey(); /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @return productType */ @NotNull @@ -63,7 +63,7 @@ public interface ProductDraftImport extends ImportResource { public ProductTypeKeyReference getProductType(); /** - * + *

Maps to ProductData.name.

* @return name */ @NotNull @@ -72,7 +72,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getName(); /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @return slug */ @NotNull @@ -81,7 +81,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getSlug(); /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @return description */ @Valid @@ -89,7 +89,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getDescription(); /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @return categories */ @Valid @@ -105,12 +105,7 @@ public interface ProductDraftImport extends ImportResource { public List getAttributes(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @return metaTitle */ @Valid @@ -118,12 +113,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getMetaTitle(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @return metaDescription */ @Valid @@ -131,12 +121,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getMetaDescription(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @return metaKeywords */ @Valid @@ -144,7 +129,7 @@ public interface ProductDraftImport extends ImportResource { public LocalizedString getMetaKeywords(); /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @return masterVariant */ @Valid @@ -152,7 +137,7 @@ public interface ProductDraftImport extends ImportResource { public ProductVariantDraftImport getMasterVariant(); /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @return variants */ @Valid @@ -160,7 +145,7 @@ public interface ProductDraftImport extends ImportResource { public List getVariants(); /** - *

The Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @Valid @@ -168,23 +153,7 @@ public interface ProductDraftImport extends ImportResource { public TaxCategoryKeyReference getTaxCategory(); /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @return searchKeywords */ @Valid @@ -192,7 +161,7 @@ public interface ProductDraftImport extends ImportResource { public SearchKeywords getSearchKeywords(); /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @Valid @@ -208,7 +177,7 @@ public interface ProductDraftImport extends ImportResource { public Boolean getPublish(); /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode. If not provided, the existing Product.priceMode is not changed.

* @return priceMode */ @@ -216,42 +185,42 @@ public interface ProductDraftImport extends ImportResource { public ProductPriceModeEnum getPriceMode(); /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @param key value to be set */ public void setKey(final String key); /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param productType value to be set */ public void setProductType(final ProductTypeKeyReference productType); /** - * set name + *

Maps to ProductData.name.

* @param name value to be set */ public void setName(final LocalizedString name); /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param slug value to be set */ public void setSlug(final LocalizedString slug); /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param description value to be set */ public void setDescription(final LocalizedString description); /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories values to be set */ @@ -259,7 +228,7 @@ public interface ProductDraftImport extends ImportResource { public void setCategories(final CategoryKeyReference... categories); /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories values to be set */ @@ -281,50 +250,35 @@ public interface ProductDraftImport extends ImportResource { public void setAttributes(final List attributes); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param metaTitle value to be set */ public void setMetaTitle(final LocalizedString metaTitle); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param metaDescription value to be set */ public void setMetaDescription(final LocalizedString metaDescription); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param metaKeywords value to be set */ public void setMetaKeywords(final LocalizedString metaKeywords); /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @param masterVariant value to be set */ public void setMasterVariant(final ProductVariantDraftImport masterVariant); /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param variants values to be set */ @@ -332,44 +286,28 @@ public interface ProductDraftImport extends ImportResource { public void setVariants(final ProductVariantDraftImport... variants); /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param variants values to be set */ public void setVariants(final List variants); /** - *

The Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set */ public void setTaxCategory(final TaxCategoryKeyReference taxCategory); /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param searchKeywords value to be set */ public void setSearchKeywords(final SearchKeywords searchKeywords); /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set */ @@ -383,7 +321,7 @@ public interface ProductDraftImport extends ImportResource { public void setPublish(final Boolean publish); /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode. If not provided, the existing Product.priceMode is not changed.

* @param priceMode value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportBuilder.java index e9d6506f42d..f2968770c92 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportBuilder.java @@ -75,7 +75,7 @@ public class ProductDraftImportBuilder implements Builder { private com.commercetools.importapi.models.common.ProductPriceModeEnum priceMode; /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -86,7 +86,7 @@ public ProductDraftImportBuilder key(final String key) { } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param builder function to build the productType value * @return Builder */ @@ -99,7 +99,7 @@ public ProductDraftImportBuilder productType( } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param builder function to build the productType value * @return Builder */ @@ -111,7 +111,7 @@ public ProductDraftImportBuilder withProductType( } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param productType value to be set * @return Builder */ @@ -123,7 +123,7 @@ public ProductDraftImportBuilder productType( } /** - * set the value to the name using the builder function + *

Maps to ProductData.name.

* @param builder function to build the name value * @return Builder */ @@ -135,7 +135,7 @@ public ProductDraftImportBuilder name( } /** - * set the value to the name using the builder function + *

Maps to ProductData.name.

* @param builder function to build the name value * @return Builder */ @@ -147,7 +147,7 @@ public ProductDraftImportBuilder withName( } /** - * set the value to the name + *

Maps to ProductData.name.

* @param name value to be set * @return Builder */ @@ -158,7 +158,7 @@ public ProductDraftImportBuilder name(final com.commercetools.importapi.models.c } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param builder function to build the slug value * @return Builder */ @@ -170,7 +170,7 @@ public ProductDraftImportBuilder slug( } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param builder function to build the slug value * @return Builder */ @@ -182,7 +182,7 @@ public ProductDraftImportBuilder withSlug( } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param slug value to be set * @return Builder */ @@ -193,7 +193,7 @@ public ProductDraftImportBuilder slug(final com.commercetools.importapi.models.c } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param builder function to build the description value * @return Builder */ @@ -205,7 +205,7 @@ public ProductDraftImportBuilder description( } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param builder function to build the description value * @return Builder */ @@ -217,7 +217,7 @@ public ProductDraftImportBuilder withDescription( } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param description value to be set * @return Builder */ @@ -229,7 +229,7 @@ public ProductDraftImportBuilder description( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -241,7 +241,7 @@ public ProductDraftImportBuilder categories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -253,7 +253,7 @@ public ProductDraftImportBuilder categories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -268,7 +268,7 @@ public ProductDraftImportBuilder plusCategories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -284,7 +284,7 @@ public ProductDraftImportBuilder plusCategories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -298,7 +298,7 @@ public ProductDraftImportBuilder withCategories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -310,7 +310,7 @@ public ProductDraftImportBuilder addCategories( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -390,12 +390,7 @@ public ProductDraftImportBuilder withAttributes( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param builder function to build the metaTitle value * @return Builder */ @@ -407,12 +402,7 @@ public ProductDraftImportBuilder metaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param builder function to build the metaTitle value * @return Builder */ @@ -424,12 +414,7 @@ public ProductDraftImportBuilder withMetaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param metaTitle value to be set * @return Builder */ @@ -441,12 +426,7 @@ public ProductDraftImportBuilder metaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param builder function to build the metaDescription value * @return Builder */ @@ -459,12 +439,7 @@ public ProductDraftImportBuilder metaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param builder function to build the metaDescription value * @return Builder */ @@ -476,12 +451,7 @@ public ProductDraftImportBuilder withMetaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param metaDescription value to be set * @return Builder */ @@ -493,12 +463,7 @@ public ProductDraftImportBuilder metaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param builder function to build the metaKeywords value * @return Builder */ @@ -511,12 +476,7 @@ public ProductDraftImportBuilder metaKeywords( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param builder function to build the metaKeywords value * @return Builder */ @@ -528,12 +488,7 @@ public ProductDraftImportBuilder withMetaKeywords( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param metaKeywords value to be set * @return Builder */ @@ -545,7 +500,7 @@ public ProductDraftImportBuilder metaKeywords( } /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @param builder function to build the masterVariant value * @return Builder */ @@ -559,7 +514,7 @@ public ProductDraftImportBuilder masterVariant( } /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @param builder function to build the masterVariant value * @return Builder */ @@ -572,7 +527,7 @@ public ProductDraftImportBuilder withMasterVariant( } /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @param masterVariant value to be set * @return Builder */ @@ -584,7 +539,7 @@ public ProductDraftImportBuilder masterVariant( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param variants value to be set * @return Builder */ @@ -596,7 +551,7 @@ public ProductDraftImportBuilder variants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param variants value to be set * @return Builder */ @@ -608,7 +563,7 @@ public ProductDraftImportBuilder variants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param variants value to be set * @return Builder */ @@ -623,7 +578,7 @@ public ProductDraftImportBuilder plusVariants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param builder function to build the variants value * @return Builder */ @@ -640,7 +595,7 @@ public ProductDraftImportBuilder plusVariants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param builder function to build the variants value * @return Builder */ @@ -655,7 +610,7 @@ public ProductDraftImportBuilder withVariants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param builder function to build the variants value * @return Builder */ @@ -667,7 +622,7 @@ public ProductDraftImportBuilder addVariants( } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @param builder function to build the variants value * @return Builder */ @@ -679,7 +634,7 @@ public ProductDraftImportBuilder setVariants( } /** - *

The Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -692,7 +647,7 @@ public ProductDraftImportBuilder taxCategory( } /** - *

The Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -704,7 +659,7 @@ public ProductDraftImportBuilder withTaxCategory( } /** - *

The Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set * @return Builder */ @@ -716,23 +671,7 @@ public ProductDraftImportBuilder taxCategory( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param builder function to build the searchKeywords value * @return Builder */ @@ -745,23 +684,7 @@ public ProductDraftImportBuilder searchKeywords( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param builder function to build the searchKeywords value * @return Builder */ @@ -773,23 +696,7 @@ public ProductDraftImportBuilder withSearchKeywords( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param searchKeywords value to be set * @return Builder */ @@ -801,7 +708,7 @@ public ProductDraftImportBuilder searchKeywords( } /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -813,7 +720,7 @@ public ProductDraftImportBuilder state( } /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -825,7 +732,7 @@ public ProductDraftImportBuilder withState( } /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set * @return Builder */ @@ -848,7 +755,7 @@ public ProductDraftImportBuilder publish(@Nullable final Boolean publish) { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode. If not provided, the existing Product.priceMode is not changed.

* @param priceMode value to be set * @return Builder */ @@ -860,7 +767,7 @@ public ProductDraftImportBuilder priceMode( } /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @return key */ @@ -869,7 +776,7 @@ public String getKey() { } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @return productType */ @@ -878,7 +785,7 @@ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProd } /** - * value of name} + *

Maps to ProductData.name.

* @return name */ @@ -887,7 +794,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @return slug */ @@ -896,7 +803,7 @@ public com.commercetools.importapi.models.common.LocalizedString getSlug() { } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @return description */ @@ -906,7 +813,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @return categories */ @@ -926,12 +833,7 @@ public java.util.ListA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @return metaTitle */ @@ -941,12 +843,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @return metaDescription */ @@ -956,12 +853,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaDescript } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @return metaKeywords */ @@ -971,7 +863,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords } /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

* @return masterVariant */ @@ -981,7 +873,7 @@ public com.commercetools.importapi.models.productdrafts.ProductVariantDraftImpor } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

* @return variants */ @@ -991,7 +883,7 @@ public java.util.ListThe Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @@ -1001,23 +893,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @return searchKeywords */ @@ -1027,7 +903,7 @@ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywo } /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @@ -1047,7 +923,7 @@ public Boolean getPublish() { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode. If not provided, the existing Product.priceMode is not changed.

* @return priceMode */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java index 6c8cf824dee..3f086245e4f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductDraftImportImpl.java @@ -103,7 +103,7 @@ public ProductDraftImportImpl() { } /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -111,7 +111,7 @@ public String getKey() { } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the ProductDraft is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

*/ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProductType() { @@ -119,7 +119,7 @@ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProd } /** - * + *

Maps to ProductData.name.

*/ public com.commercetools.importapi.models.common.LocalizedString getName() { @@ -127,7 +127,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

*/ public com.commercetools.importapi.models.common.LocalizedString getSlug() { @@ -135,7 +135,7 @@ public com.commercetools.importapi.models.common.LocalizedString getSlug() { } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

*/ public com.commercetools.importapi.models.common.LocalizedString getDescription() { @@ -143,7 +143,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

The Reference to the Categories with which the ProductDraft is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

*/ public java.util.List getCategories() { @@ -159,12 +159,7 @@ public java.util.ListA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() { @@ -172,12 +167,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaDescription() { @@ -185,12 +175,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaDescript } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords() { @@ -198,7 +183,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords } /** - *

The master Product variant. Required if the variants array contains a Product Variant.

+ *

The master ProductVariant. Required if variants contains at least one ProductVariant.

*/ public com.commercetools.importapi.models.productdrafts.ProductVariantDraftImport getMasterVariant() { @@ -206,7 +191,7 @@ public com.commercetools.importapi.models.productdrafts.ProductVariantDraftImpor } /** - *

An array of related Product Variants.

+ *

An array of related ProductVariants.

*/ public java.util.List getVariants() { @@ -214,7 +199,7 @@ public java.util.ListThe Reference to the TaxCategory with which the ProductDraft is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

*/ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxCategory() { @@ -222,23 +207,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

*/ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywords() { @@ -246,7 +215,7 @@ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywo } /** - *

The Reference to the State with which the ProductDraft is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

*/ public com.commercetools.importapi.models.common.StateKeyReference getState() { @@ -262,7 +231,7 @@ public Boolean getPublish() { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode. If not provided, the existing Product.priceMode is not changed.

*/ public com.commercetools.importapi.models.common.ProductPriceModeEnum getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImport.java index 87c64499426..c35650ce6e4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImport.java @@ -37,7 +37,7 @@ public interface ProductVariantDraftImport { /** - * + *

User-defined unique SKU of the Product Variant.

* @return sku */ @@ -45,7 +45,7 @@ public interface ProductVariantDraftImport { public String getSku(); /** - * + *

User-defined unique identifier for the ProductVariant.

* @return key */ @NotNull @@ -53,7 +53,7 @@ public interface ProductVariantDraftImport { public String getKey(); /** - * + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @return prices */ @Valid @@ -61,7 +61,7 @@ public interface ProductVariantDraftImport { public List getPrices(); /** - * + *

Attributes according to the respective AttributeDefinition.

* @return attributes */ @Valid @@ -69,7 +69,7 @@ public interface ProductVariantDraftImport { public List getAttributes(); /** - * + *

Images for the Product Variant.

* @return images */ @Valid @@ -77,7 +77,7 @@ public interface ProductVariantDraftImport { public List getImages(); /** - * + *

Media assets for the Product Variant.

* @return assets */ @Valid @@ -85,21 +85,21 @@ public interface ProductVariantDraftImport { public List getAssets(); /** - * set sku + *

User-defined unique SKU of the Product Variant.

* @param sku value to be set */ public void setSku(final String sku); /** - * set key + *

User-defined unique identifier for the ProductVariant.

* @param key value to be set */ public void setKey(final String key); /** - * set prices + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param prices values to be set */ @@ -107,14 +107,14 @@ public interface ProductVariantDraftImport { public void setPrices(final PriceDraftImport... prices); /** - * set prices + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param prices values to be set */ public void setPrices(final List prices); /** - * set attributes + *

Attributes according to the respective AttributeDefinition.

* @param attributes values to be set */ @@ -122,14 +122,14 @@ public interface ProductVariantDraftImport { public void setAttributes(final Attribute... attributes); /** - * set attributes + *

Attributes according to the respective AttributeDefinition.

* @param attributes values to be set */ public void setAttributes(final List attributes); /** - * set images + *

Images for the Product Variant.

* @param images values to be set */ @@ -137,14 +137,14 @@ public interface ProductVariantDraftImport { public void setImages(final Image... images); /** - * set images + *

Images for the Product Variant.

* @param images values to be set */ public void setImages(final List images); /** - * set assets + *

Media assets for the Product Variant.

* @param assets values to be set */ @@ -152,7 +152,7 @@ public interface ProductVariantDraftImport { public void setAssets(final Asset... assets); /** - * set assets + *

Media assets for the Product Variant.

* @param assets values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportBuilder.java index 9932c9049d0..f0131fbd2f3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportBuilder.java @@ -42,7 +42,7 @@ public class ProductVariantDraftImportBuilder implements Builder assets; /** - * set the value to the sku + *

User-defined unique SKU of the Product Variant.

* @param sku value to be set * @return Builder */ @@ -53,7 +53,7 @@ public ProductVariantDraftImportBuilder sku(@Nullable final String sku) { } /** - * set the value to the key + *

User-defined unique identifier for the ProductVariant.

* @param key value to be set * @return Builder */ @@ -64,7 +64,7 @@ public ProductVariantDraftImportBuilder key(final String key) { } /** - * set values to the prices + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param prices value to be set * @return Builder */ @@ -76,7 +76,7 @@ public ProductVariantDraftImportBuilder prices( } /** - * set value to the prices + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param prices value to be set * @return Builder */ @@ -88,7 +88,7 @@ public ProductVariantDraftImportBuilder prices( } /** - * add values to the prices + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param prices value to be set * @return Builder */ @@ -103,7 +103,7 @@ public ProductVariantDraftImportBuilder plusPrices( } /** - * add the value to the prices using the builder function + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param builder function to build the prices value * @return Builder */ @@ -119,7 +119,7 @@ public ProductVariantDraftImportBuilder plusPrices( } /** - * set the value to the prices using the builder function + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param builder function to build the prices value * @return Builder */ @@ -133,7 +133,7 @@ public ProductVariantDraftImportBuilder withPrices( } /** - * add the value to the prices using the builder function + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param builder function to build the prices value * @return Builder */ @@ -144,7 +144,7 @@ public ProductVariantDraftImportBuilder addPrices( } /** - * set the value to the prices using the builder function + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @param builder function to build the prices value * @return Builder */ @@ -155,7 +155,7 @@ public ProductVariantDraftImportBuilder setPrices( } /** - * set values to the attributes + *

Attributes according to the respective AttributeDefinition.

* @param attributes value to be set * @return Builder */ @@ -167,7 +167,7 @@ public ProductVariantDraftImportBuilder attributes( } /** - * set value to the attributes + *

Attributes according to the respective AttributeDefinition.

* @param attributes value to be set * @return Builder */ @@ -179,7 +179,7 @@ public ProductVariantDraftImportBuilder attributes( } /** - * add values to the attributes + *

Attributes according to the respective AttributeDefinition.

* @param attributes value to be set * @return Builder */ @@ -194,7 +194,7 @@ public ProductVariantDraftImportBuilder plusAttributes( } /** - * add a value to the attributes using the builder function + *

Attributes according to the respective AttributeDefinition.

* @param builder function to build the attributes value * @return Builder */ @@ -210,7 +210,7 @@ public ProductVariantDraftImportBuilder plusAttributes( } /** - * set the value to the attributes using the builder function + *

Attributes according to the respective AttributeDefinition.

* @param builder function to build the attributes value * @return Builder */ @@ -224,7 +224,7 @@ public ProductVariantDraftImportBuilder withAttributes( } /** - * set values to the images + *

Images for the Product Variant.

* @param images value to be set * @return Builder */ @@ -236,7 +236,7 @@ public ProductVariantDraftImportBuilder images( } /** - * set value to the images + *

Images for the Product Variant.

* @param images value to be set * @return Builder */ @@ -248,7 +248,7 @@ public ProductVariantDraftImportBuilder images( } /** - * add values to the images + *

Images for the Product Variant.

* @param images value to be set * @return Builder */ @@ -263,7 +263,7 @@ public ProductVariantDraftImportBuilder plusImages( } /** - * add the value to the images using the builder function + *

Images for the Product Variant.

* @param builder function to build the images value * @return Builder */ @@ -278,7 +278,7 @@ public ProductVariantDraftImportBuilder plusImages( } /** - * set the value to the images using the builder function + *

Images for the Product Variant.

* @param builder function to build the images value * @return Builder */ @@ -291,7 +291,7 @@ public ProductVariantDraftImportBuilder withImages( } /** - * add the value to the images using the builder function + *

Images for the Product Variant.

* @param builder function to build the images value * @return Builder */ @@ -302,7 +302,7 @@ public ProductVariantDraftImportBuilder addImages( } /** - * set the value to the images using the builder function + *

Images for the Product Variant.

* @param builder function to build the images value * @return Builder */ @@ -313,7 +313,7 @@ public ProductVariantDraftImportBuilder setImages( } /** - * set values to the assets + *

Media assets for the Product Variant.

* @param assets value to be set * @return Builder */ @@ -325,7 +325,7 @@ public ProductVariantDraftImportBuilder assets( } /** - * set value to the assets + *

Media assets for the Product Variant.

* @param assets value to be set * @return Builder */ @@ -337,7 +337,7 @@ public ProductVariantDraftImportBuilder assets( } /** - * add values to the assets + *

Media assets for the Product Variant.

* @param assets value to be set * @return Builder */ @@ -352,7 +352,7 @@ public ProductVariantDraftImportBuilder plusAssets( } /** - * add the value to the assets using the builder function + *

Media assets for the Product Variant.

* @param builder function to build the assets value * @return Builder */ @@ -367,7 +367,7 @@ public ProductVariantDraftImportBuilder plusAssets( } /** - * set the value to the assets using the builder function + *

Media assets for the Product Variant.

* @param builder function to build the assets value * @return Builder */ @@ -380,7 +380,7 @@ public ProductVariantDraftImportBuilder withAssets( } /** - * add the value to the assets using the builder function + *

Media assets for the Product Variant.

* @param builder function to build the assets value * @return Builder */ @@ -391,7 +391,7 @@ public ProductVariantDraftImportBuilder addAssets( } /** - * set the value to the assets using the builder function + *

Media assets for the Product Variant.

* @param builder function to build the assets value * @return Builder */ @@ -402,7 +402,7 @@ public ProductVariantDraftImportBuilder setAssets( } /** - * value of sku} + *

User-defined unique SKU of the Product Variant.

* @return sku */ @@ -412,7 +412,7 @@ public String getSku() { } /** - * value of key} + *

User-defined unique identifier for the ProductVariant.

* @return key */ @@ -421,7 +421,7 @@ public String getKey() { } /** - * value of prices} + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

* @return prices */ @@ -431,7 +431,7 @@ public java.util.ListAttributes according to the respective AttributeDefinition.

* @return attributes */ @@ -441,7 +441,7 @@ public java.util.ListImages for the Product Variant.

* @return images */ @@ -451,7 +451,7 @@ public java.util.List getImages } /** - * value of assets} + *

Media assets for the Product Variant.

* @return assets */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java index e3408746377..e933d12a7d1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productdrafts/ProductVariantDraftImportImpl.java @@ -58,7 +58,7 @@ public ProductVariantDraftImportImpl() { } /** - * + *

User-defined unique SKU of the Product Variant.

*/ public String getSku() { @@ -66,7 +66,7 @@ public String getSku() { } /** - * + *

User-defined unique identifier for the ProductVariant.

*/ public String getKey() { @@ -74,7 +74,7 @@ public String getKey() { } /** - * + *

The Embedded Prices for the Product Variant. Each Price must have its unique Price scope (with same currency, country, Customer Group, Channel, validFrom and validUntil).

*/ public java.util.List getPrices() { @@ -82,7 +82,7 @@ public java.util.ListAttributes according to the respective AttributeDefinition.

*/ public java.util.List getAttributes() { @@ -90,7 +90,7 @@ public java.util.ListImages for the Product Variant.

*/ public java.util.List getImages() { @@ -98,7 +98,7 @@ public java.util.List getImages } /** - * + *

Media assets for the Product Variant.

*/ public java.util.List getAssets() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImport.java index 96239741616..d2f27be65a9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImport.java @@ -25,8 +25,8 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a Product to be imported that is persisted as a Product in the Project.

- *

This is the minimal representation required for creating a Product in commercetools.

+ *

Represents the data used to import a Product. Once imported, this data is persisted as a Product in the Project.

+ *

This is the minimal representation required for creating a Product in Composable Commerce.

* *
* Example to create an instance using the builder pattern @@ -46,7 +46,7 @@ public interface ProductImport extends ImportResource { /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -54,7 +54,7 @@ public interface ProductImport extends ImportResource { public String getKey(); /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @return name */ @NotNull @@ -63,7 +63,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getName(); /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @return productType */ @NotNull @@ -72,7 +72,7 @@ public interface ProductImport extends ImportResource { public ProductTypeKeyReference getProductType(); /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @return slug */ @NotNull @@ -81,7 +81,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getSlug(); /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @return description */ @Valid @@ -89,7 +89,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getDescription(); /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @return categories */ @Valid @@ -105,12 +105,7 @@ public interface ProductImport extends ImportResource { public List getAttributes(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @return metaTitle */ @Valid @@ -118,12 +113,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getMetaTitle(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @return metaDescription */ @Valid @@ -131,12 +121,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getMetaDescription(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @return metaKeywords */ @Valid @@ -144,7 +129,7 @@ public interface ProductImport extends ImportResource { public LocalizedString getMetaKeywords(); /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @Valid @@ -152,23 +137,7 @@ public interface ProductImport extends ImportResource { public TaxCategoryKeyReference getTaxCategory(); /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @return searchKeywords */ @Valid @@ -176,7 +145,7 @@ public interface ProductImport extends ImportResource { public SearchKeywords getSearchKeywords(); /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @Valid @@ -192,7 +161,7 @@ public interface ProductImport extends ImportResource { public Boolean getPublish(); /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode.

* @return priceMode */ @@ -200,42 +169,42 @@ public interface ProductImport extends ImportResource { public ProductPriceModeEnum getPriceMode(); /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @param key value to be set */ public void setKey(final String key); /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @param name value to be set */ public void setName(final LocalizedString name); /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param productType value to be set */ public void setProductType(final ProductTypeKeyReference productType); /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param slug value to be set */ public void setSlug(final LocalizedString slug); /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param description value to be set */ public void setDescription(final LocalizedString description); /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories values to be set */ @@ -243,7 +212,7 @@ public interface ProductImport extends ImportResource { public void setCategories(final CategoryKeyReference... categories); /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories values to be set */ @@ -265,73 +234,42 @@ public interface ProductImport extends ImportResource { public void setAttributes(final List attributes); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param metaTitle value to be set */ public void setMetaTitle(final LocalizedString metaTitle); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param metaDescription value to be set */ public void setMetaDescription(final LocalizedString metaDescription); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param metaKeywords value to be set */ public void setMetaKeywords(final LocalizedString metaKeywords); /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set */ public void setTaxCategory(final TaxCategoryKeyReference taxCategory); /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param searchKeywords value to be set */ public void setSearchKeywords(final SearchKeywords searchKeywords); /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set */ @@ -345,7 +283,7 @@ public interface ProductImport extends ImportResource { public void setPublish(final Boolean publish); /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode.

* @param priceMode value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportBuilder.java index 6e85e50600a..bbc7fe072aa 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportBuilder.java @@ -69,7 +69,7 @@ public class ProductImportBuilder implements Builder { private com.commercetools.importapi.models.common.ProductPriceModeEnum priceMode; /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -80,7 +80,7 @@ public ProductImportBuilder key(final String key) { } /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @param builder function to build the name value * @return Builder */ @@ -92,7 +92,7 @@ public ProductImportBuilder name( } /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @param builder function to build the name value * @return Builder */ @@ -104,7 +104,7 @@ public ProductImportBuilder withName( } /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @param name value to be set * @return Builder */ @@ -115,7 +115,7 @@ public ProductImportBuilder name(final com.commercetools.importapi.models.common } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param builder function to build the productType value * @return Builder */ @@ -128,7 +128,7 @@ public ProductImportBuilder productType( } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param builder function to build the productType value * @return Builder */ @@ -140,7 +140,7 @@ public ProductImportBuilder withProductType( } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @param productType value to be set * @return Builder */ @@ -152,7 +152,7 @@ public ProductImportBuilder productType( } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param builder function to build the slug value * @return Builder */ @@ -164,7 +164,7 @@ public ProductImportBuilder slug( } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param builder function to build the slug value * @return Builder */ @@ -176,7 +176,7 @@ public ProductImportBuilder withSlug( } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @param slug value to be set * @return Builder */ @@ -187,7 +187,7 @@ public ProductImportBuilder slug(final com.commercetools.importapi.models.common } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param builder function to build the description value * @return Builder */ @@ -199,7 +199,7 @@ public ProductImportBuilder description( } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param builder function to build the description value * @return Builder */ @@ -211,7 +211,7 @@ public ProductImportBuilder withDescription( } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @param description value to be set * @return Builder */ @@ -223,7 +223,7 @@ public ProductImportBuilder description( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -235,7 +235,7 @@ public ProductImportBuilder categories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -247,7 +247,7 @@ public ProductImportBuilder categories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param categories value to be set * @return Builder */ @@ -262,7 +262,7 @@ public ProductImportBuilder plusCategories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -278,7 +278,7 @@ public ProductImportBuilder plusCategories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -292,7 +292,7 @@ public ProductImportBuilder withCategories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -304,7 +304,7 @@ public ProductImportBuilder addCategories( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @param builder function to build the categories value * @return Builder */ @@ -384,12 +384,7 @@ public ProductImportBuilder withAttributes( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param builder function to build the metaTitle value * @return Builder */ @@ -401,12 +396,7 @@ public ProductImportBuilder metaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param builder function to build the metaTitle value * @return Builder */ @@ -418,12 +408,7 @@ public ProductImportBuilder withMetaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @param metaTitle value to be set * @return Builder */ @@ -435,12 +420,7 @@ public ProductImportBuilder metaTitle( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param builder function to build the metaDescription value * @return Builder */ @@ -453,12 +433,7 @@ public ProductImportBuilder metaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param builder function to build the metaDescription value * @return Builder */ @@ -470,12 +445,7 @@ public ProductImportBuilder withMetaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @param metaDescription value to be set * @return Builder */ @@ -487,12 +457,7 @@ public ProductImportBuilder metaDescription( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param builder function to build the metaKeywords value * @return Builder */ @@ -505,12 +470,7 @@ public ProductImportBuilder metaKeywords( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param builder function to build the metaKeywords value * @return Builder */ @@ -522,12 +482,7 @@ public ProductImportBuilder withMetaKeywords( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @param metaKeywords value to be set * @return Builder */ @@ -539,7 +494,7 @@ public ProductImportBuilder metaKeywords( } /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -552,7 +507,7 @@ public ProductImportBuilder taxCategory( } /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param builder function to build the taxCategory value * @return Builder */ @@ -564,7 +519,7 @@ public ProductImportBuilder withTaxCategory( } /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @param taxCategory value to be set * @return Builder */ @@ -576,23 +531,7 @@ public ProductImportBuilder taxCategory( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param builder function to build the searchKeywords value * @return Builder */ @@ -605,23 +544,7 @@ public ProductImportBuilder searchKeywords( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param builder function to build the searchKeywords value * @return Builder */ @@ -633,23 +556,7 @@ public ProductImportBuilder withSearchKeywords( } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @param searchKeywords value to be set * @return Builder */ @@ -661,7 +568,7 @@ public ProductImportBuilder searchKeywords( } /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -673,7 +580,7 @@ public ProductImportBuilder state( } /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param builder function to build the state value * @return Builder */ @@ -685,7 +592,7 @@ public ProductImportBuilder withState( } /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @param state value to be set * @return Builder */ @@ -708,7 +615,7 @@ public ProductImportBuilder publish(@Nullable final Boolean publish) { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode.

* @param priceMode value to be set * @return Builder */ @@ -720,7 +627,7 @@ public ProductImportBuilder priceMode( } /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

* @return key */ @@ -729,7 +636,7 @@ public String getKey() { } /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

* @return name */ @@ -738,7 +645,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

* @return productType */ @@ -747,7 +654,7 @@ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProd } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

* @return slug */ @@ -756,7 +663,7 @@ public com.commercetools.importapi.models.common.LocalizedString getSlug() { } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

* @return description */ @@ -766,7 +673,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

* @return categories */ @@ -786,12 +693,7 @@ public java.util.ListA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

* @return metaTitle */ @@ -801,12 +703,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

* @return metaDescription */ @@ -816,12 +713,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaDescript } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

* @return metaKeywords */ @@ -831,7 +723,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords } /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

* @return taxCategory */ @@ -841,23 +733,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

* @return searchKeywords */ @@ -867,7 +743,7 @@ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywo } /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

* @return state */ @@ -887,7 +763,7 @@ public Boolean getPublish() { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode.

* @return priceMode */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java index 717e929ac66..27e031d2c20 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/products/ProductImportImpl.java @@ -17,8 +17,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a Product to be imported that is persisted as a Product in the Project.

- *

This is the minimal representation required for creating a Product in commercetools.

+ *

Represents the data used to import a Product. Once imported, this data is persisted as a Product in the Project.

+ *

This is the minimal representation required for creating a Product in Composable Commerce.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductImportImpl implements ProductImport, ModelBase { @@ -96,7 +96,7 @@ public ProductImportImpl() { } /** - *

User-defined unique identifier. If a Product with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a Product with this key exists, it is updated with the imported data.

*/ public String getKey() { @@ -104,7 +104,7 @@ public String getKey() { } /** - *

Maps to Product.name.

+ *

Maps to ProductData.name.

*/ public com.commercetools.importapi.models.common.LocalizedString getName() { @@ -112,7 +112,7 @@ public com.commercetools.importapi.models.common.LocalizedString getName() { } /** - *

The productType of a Product. Maps to Product.productType. The Reference to the ProductType with which the Product is associated. If referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductType is created.

+ *

Maps to Product.productType. If the referenced ProductType does not exist, the state of the ImportOperation will be set to unresolved until the referenced ProductType is created.

*/ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProductType() { @@ -120,7 +120,7 @@ public com.commercetools.importapi.models.common.ProductTypeKeyReference getProd } /** - *

Human-readable identifiers usually used as deep-link URL to the related product. Each slug must be unique across a Project, but a product can have the same slug for different languages. Allowed are alphabetic, numeric, underscore (_) and hyphen (-) characters.

+ *

Maps to ProductData.slug.

*/ public com.commercetools.importapi.models.common.LocalizedString getSlug() { @@ -128,7 +128,7 @@ public com.commercetools.importapi.models.common.LocalizedString getSlug() { } /** - *

Maps to Product.description.

+ *

Maps to ProductData.description.

*/ public com.commercetools.importapi.models.common.LocalizedString getDescription() { @@ -136,7 +136,7 @@ public com.commercetools.importapi.models.common.LocalizedString getDescription( } /** - *

Maps to Product.categories. The References to the Categories with which the Product is associated. If referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the necessary Categories are created.

+ *

Maps to ProductData.categories. If the referenced Categories do not exist, the state of the ImportOperation will be set to unresolved until the referenced Categories are created.

*/ public java.util.List getCategories() { @@ -152,12 +152,7 @@ public java.util.ListA localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaTitle.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() { @@ -165,12 +160,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaTitle() } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaDescription.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaDescription() { @@ -178,12 +168,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaDescript } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Maps to ProductData.metaKeywords.

*/ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords() { @@ -191,7 +176,7 @@ public com.commercetools.importapi.models.common.LocalizedString getMetaKeywords } /** - *

The Reference to the TaxCategory with which the Product is associated. If referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the necessary TaxCategory is created.

+ *

Maps to Product.taxCategory. If the referenced TaxCategory does not exist, the state of the ImportOperation will be set to unresolved until the referenced TaxCategory is created.

*/ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxCategory() { @@ -199,23 +184,7 @@ public com.commercetools.importapi.models.common.TaxCategoryKeyReference getTaxC } /** - *

Search keywords are primarily used by the suggester but are also considered for the full-text search. SearchKeywords is a JSON object where the keys are of IETF language tag. The value to a language tag key is an array of SearchKeyword for the specific language.

- *
{
-     *    "en": [
-     *      { "text": "Multi tool" },
-     *      { "text": "Swiss Army Knife", "suggestTokenizer": { "type": "whitespace" } }
-     *    ],
-     *    "de": [
-     *      {
-     *        "text": "Schweizer Messer",
-     *        "suggestTokenizer": {
-     *          "type": "custom",
-     *          "inputs": ["schweizer messer", "offiziersmesser", "sackmesser"]
-     *        }
-     *      }
-     *    ]
-     *  }
-     *  
+ *

Maps to ProductData.searchKeywords.

*/ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywords() { @@ -223,7 +192,7 @@ public com.commercetools.importapi.models.products.SearchKeywords getSearchKeywo } /** - *

The Reference to the State with which the Product is associated. If referenced State does not exist, the state of the ImportOperation will be set to unresolved until the necessary State is created.

+ *

Maps to Product.state. If the referenced State does not exist, the state of the ImportOperation will be set to unresolved until the referenced State is created.

*/ public com.commercetools.importapi.models.common.StateKeyReference getState() { @@ -239,7 +208,7 @@ public Boolean getPublish() { } /** - *

Determines the type of Prices the API uses. If not provided, the existing Product.priceMode is not changed.

+ *

Maps to Product.priceMode.

*/ public com.commercetools.importapi.models.common.ProductPriceModeEnum getPriceMode() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinition.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinition.java index eb7f67d5cb1..1b7eafacede 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinition.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinition.java @@ -37,7 +37,7 @@ public interface AttributeDefinition { /** - * + *

Describes the Type of the Attribute.

* @return type */ @NotNull @@ -46,7 +46,7 @@ public interface AttributeDefinition { public AttributeType getType(); /** - * + *

User-defined name of the Attribute that is unique within the Project.

* @return name */ @NotNull @@ -54,12 +54,7 @@ public interface AttributeDefinition { public String getName(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @return label */ @NotNull @@ -68,7 +63,7 @@ public interface AttributeDefinition { public LocalizedString getLabel(); /** - * + *

If true, the Attribute must have a value on a ProductVariant.

* @return isRequired */ @NotNull @@ -76,7 +71,7 @@ public interface AttributeDefinition { public Boolean getIsRequired(); /** - * + *

Specifies how Attributes are validated across all variants of a Product.

* @return attributeConstraint */ @@ -84,12 +79,7 @@ public interface AttributeDefinition { public AttributeConstraintEnum getAttributeConstraint(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @return inputTip */ @Valid @@ -97,7 +87,7 @@ public interface AttributeDefinition { public LocalizedString getInputTip(); /** - * + *

Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).

* @return inputHint */ @@ -105,7 +95,7 @@ public interface AttributeDefinition { public TextInputHint getInputHint(); /** - * + *

If true, the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets.

* @return isSearchable */ @@ -121,66 +111,56 @@ public interface AttributeDefinition { public AttributeLevel getLevel(); /** - * set type + *

Describes the Type of the Attribute.

* @param type value to be set */ public void setType(final AttributeType type); /** - * set name + *

User-defined name of the Attribute that is unique within the Project.

* @param name value to be set */ public void setName(final String name); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @param label value to be set */ public void setLabel(final LocalizedString label); /** - * set isRequired + *

If true, the Attribute must have a value on a ProductVariant.

* @param isRequired value to be set */ public void setIsRequired(final Boolean isRequired); /** - * set attributeConstraint + *

Specifies how Attributes are validated across all variants of a Product.

* @param attributeConstraint value to be set */ public void setAttributeConstraint(final AttributeConstraintEnum attributeConstraint); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @param inputTip value to be set */ public void setInputTip(final LocalizedString inputTip); /** - * set inputHint + *

Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).

* @param inputHint value to be set */ public void setInputHint(final TextInputHint inputHint); /** - * set isSearchable + *

If true, the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets.

* @param isSearchable value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionBuilder.java index 6ef20040e4a..9a7612ad587 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionBuilder.java @@ -51,7 +51,7 @@ public class AttributeDefinitionBuilder implements Builder private com.commercetools.importapi.models.producttypes.AttributeLevel level; /** - * set the value to the type + *

Describes the Type of the Attribute.

* @param type value to be set * @return Builder */ @@ -62,7 +62,7 @@ public AttributeDefinitionBuilder type(final com.commercetools.importapi.models. } /** - * set the value to the type using the builder function + *

Describes the Type of the Attribute.

* @param builder function to build the type value * @return Builder */ @@ -74,7 +74,7 @@ public AttributeDefinitionBuilder type( } /** - * set the value to the name + *

User-defined name of the Attribute that is unique within the Project.

* @param name value to be set * @return Builder */ @@ -85,12 +85,7 @@ public AttributeDefinitionBuilder name(final String name) { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @param builder function to build the label value * @return Builder */ @@ -102,12 +97,7 @@ public AttributeDefinitionBuilder label( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @param builder function to build the label value * @return Builder */ @@ -119,12 +109,7 @@ public AttributeDefinitionBuilder withLabel( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @param label value to be set * @return Builder */ @@ -135,7 +120,7 @@ public AttributeDefinitionBuilder label(final com.commercetools.importapi.models } /** - * set the value to the isRequired + *

If true, the Attribute must have a value on a ProductVariant.

* @param isRequired value to be set * @return Builder */ @@ -146,7 +131,7 @@ public AttributeDefinitionBuilder isRequired(final Boolean isRequired) { } /** - * set the value to the attributeConstraint + *

Specifies how Attributes are validated across all variants of a Product.

* @param attributeConstraint value to be set * @return Builder */ @@ -158,12 +143,7 @@ public AttributeDefinitionBuilder attributeConstraint( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @param builder function to build the inputTip value * @return Builder */ @@ -175,12 +155,7 @@ public AttributeDefinitionBuilder inputTip( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @param builder function to build the inputTip value * @return Builder */ @@ -192,12 +167,7 @@ public AttributeDefinitionBuilder withInputTip( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @param inputTip value to be set * @return Builder */ @@ -209,7 +179,7 @@ public AttributeDefinitionBuilder inputTip( } /** - * set the value to the inputHint + *

Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).

* @param inputHint value to be set * @return Builder */ @@ -221,7 +191,7 @@ public AttributeDefinitionBuilder inputHint( } /** - * set the value to the isSearchable + *

If true, the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets.

* @param isSearchable value to be set * @return Builder */ @@ -244,7 +214,7 @@ public AttributeDefinitionBuilder level( } /** - * value of type} + *

Describes the Type of the Attribute.

* @return type */ @@ -253,7 +223,7 @@ public com.commercetools.importapi.models.producttypes.AttributeType getType() { } /** - * value of name} + *

User-defined name of the Attribute that is unique within the Project.

* @return name */ @@ -262,12 +232,7 @@ public String getName() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

* @return label */ @@ -276,7 +241,7 @@ public com.commercetools.importapi.models.common.LocalizedString getLabel() { } /** - * value of isRequired} + *

If true, the Attribute must have a value on a ProductVariant.

* @return isRequired */ @@ -285,7 +250,7 @@ public Boolean getIsRequired() { } /** - * value of attributeConstraint} + *

Specifies how Attributes are validated across all variants of a Product.

* @return attributeConstraint */ @@ -295,12 +260,7 @@ public com.commercetools.importapi.models.producttypes.AttributeConstraintEnum g } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

* @return inputTip */ @@ -310,7 +270,7 @@ public com.commercetools.importapi.models.common.LocalizedString getInputTip() { } /** - * value of inputHint} + *

Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).

* @return inputHint */ @@ -320,7 +280,7 @@ public com.commercetools.importapi.models.producttypes.TextInputHint getInputHin } /** - * value of isSearchable} + *

If true, the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets.

* @return isSearchable */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java index 1243c41eb49..f156f02017a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeDefinitionImpl.java @@ -72,7 +72,7 @@ public AttributeDefinitionImpl() { } /** - * + *

Describes the Type of the Attribute.

*/ public com.commercetools.importapi.models.producttypes.AttributeType getType() { @@ -80,7 +80,7 @@ public com.commercetools.importapi.models.producttypes.AttributeType getType() { } /** - * + *

User-defined name of the Attribute that is unique within the Project.

*/ public String getName() { @@ -88,12 +88,7 @@ public String getName() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Human-readable label for the Attribute.

*/ public com.commercetools.importapi.models.common.LocalizedString getLabel() { @@ -101,7 +96,7 @@ public com.commercetools.importapi.models.common.LocalizedString getLabel() { } /** - * + *

If true, the Attribute must have a value on a ProductVariant.

*/ public Boolean getIsRequired() { @@ -109,7 +104,7 @@ public Boolean getIsRequired() { } /** - * + *

Specifies how Attributes are validated across all variants of a Product.

*/ public com.commercetools.importapi.models.producttypes.AttributeConstraintEnum getAttributeConstraint() { @@ -117,12 +112,7 @@ public com.commercetools.importapi.models.producttypes.AttributeConstraintEnum g } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

Provides additional Attribute information to aid content managers configure Product details.

*/ public com.commercetools.importapi.models.common.LocalizedString getInputTip() { @@ -130,7 +120,7 @@ public com.commercetools.importapi.models.common.LocalizedString getInputTip() { } /** - * + *

Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).

*/ public com.commercetools.importapi.models.producttypes.TextInputHint getInputHint() { @@ -138,7 +128,7 @@ public com.commercetools.importapi.models.producttypes.TextInputHint getInputHin } /** - * + *

If true, the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets.

*/ public Boolean getIsSearchable() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedType.java index 8a2b6d8bd6c..685d4e9f14c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedType.java @@ -40,7 +40,7 @@ public interface AttributeNestedType extends AttributeType { String NESTED = "nested"; /** - *

References a product type by key.

+ *

References a ProductType by key.

* @return typeReference */ @NotNull @@ -49,7 +49,7 @@ public interface AttributeNestedType extends AttributeType { public ProductTypeKeyReference getTypeReference(); /** - *

References a product type by key.

+ *

References a ProductType by key.

* @param typeReference value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeBuilder.java index 7c7202d0d43..72a331f98c9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeBuilder.java @@ -25,7 +25,7 @@ public class AttributeNestedTypeBuilder implements Builder private com.commercetools.importapi.models.common.ProductTypeKeyReference typeReference; /** - *

References a product type by key.

+ *

References a ProductType by key.

* @param builder function to build the typeReference value * @return Builder */ @@ -39,7 +39,7 @@ public AttributeNestedTypeBuilder typeReference( } /** - *

References a product type by key.

+ *

References a ProductType by key.

* @param builder function to build the typeReference value * @return Builder */ @@ -52,7 +52,7 @@ public AttributeNestedTypeBuilder withTypeReference( } /** - *

References a product type by key.

+ *

References a ProductType by key.

* @param typeReference value to be set * @return Builder */ @@ -64,7 +64,7 @@ public AttributeNestedTypeBuilder typeReference( } /** - *

References a product type by key.

+ *

References a ProductType by key.

* @return typeReference */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java index 770327572d2..cf313af3a89 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeNestedTypeImpl.java @@ -52,7 +52,7 @@ public String getName() { } /** - *

References a product type by key.

+ *

References a ProductType by key.

*/ public com.commercetools.importapi.models.common.ProductTypeKeyReference getTypeReference() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceType.java index 7a461c004dd..e384bdb642a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceType.java @@ -39,7 +39,7 @@ public interface AttributeReferenceType extends AttributeType { String REFERENCE = "reference"; /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

* @return referenceTypeId */ @NotNull @@ -47,7 +47,7 @@ public interface AttributeReferenceType extends AttributeType { public ReferenceType getReferenceTypeId(); /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

* @param referenceTypeId value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeBuilder.java index a05ef0cca86..a8102c87c82 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeBuilder.java @@ -24,7 +24,7 @@ public class AttributeReferenceTypeBuilder implements BuilderThe type of the referenced resource.

+ *

Type of referenced resource.

* @param referenceTypeId value to be set * @return Builder */ @@ -36,7 +36,7 @@ public AttributeReferenceTypeBuilder referenceTypeId( } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

* @return referenceTypeId */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java index c56343a4f24..531a8b76b8d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/AttributeReferenceTypeImpl.java @@ -52,7 +52,7 @@ public String getName() { } /** - *

The type of the referenced resource.

+ *

Type of referenced resource.

*/ public com.commercetools.importapi.models.common.ReferenceType getReferenceTypeId() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImport.java index 23c4bc24807..a7c33907607 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImport.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a ProductType to be imported that is persisted as a ProductType in the Project.

+ *

Represents the data used to import a ProductType. Once imported, this data is persisted as a ProductType in the Project.

* *
* Example to create an instance using the builder pattern @@ -37,7 +37,7 @@ public interface ProductTypeImport extends ImportResource { /** - *

User-defined unique identifier. If a ProductType with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductType with this key exists, it is updated with the imported data.

* @return key */ @NotNull @@ -69,7 +69,7 @@ public interface ProductTypeImport extends ImportResource { public List getAttributes(); /** - *

User-defined unique identifier. If a ProductType with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductType with this key exists, it is updated with the imported data.

* @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportBuilder.java index 73d7046222a..8c373323282 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportBuilder.java @@ -36,7 +36,7 @@ public class ProductTypeImportBuilder implements Builder { private java.util.List attributes; /** - *

User-defined unique identifier. If a ProductType with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductType with this key exists, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -162,7 +162,7 @@ public ProductTypeImportBuilder setAttributes( } /** - *

User-defined unique identifier. If a ProductType with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductType with this key exists, it is updated with the imported data.

* @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java index 476d5713530..124f52def66 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/producttypes/ProductTypeImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a ProductType to be imported that is persisted as a ProductType in the Project.

+ *

Represents the data used to import a ProductType. Once imported, this data is persisted as a ProductType in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductTypeImportImpl implements ProductTypeImport, ModelBase { @@ -50,7 +50,7 @@ public ProductTypeImportImpl() { } /** - *

User-defined unique identifier. If a ProductType with this key exists, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductType with this key exists, it is updated with the imported data.

*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/Attribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/Attribute.java index 598b4618ae1..d174fb67aee 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/Attribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/Attribute.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - *

This type represents the value of an attribute of a product variant. The name and type property must match the name and type property of an attribute definition of the product type.

+ *

Represents the value of an Attribute of a Product Variant.

* *
* Example to create a subtype instance using the builder pattern @@ -33,7 +33,8 @@ public interface Attribute { /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -41,7 +42,7 @@ public interface Attribute { public String getName(); /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

* @return type */ @NotNull @@ -49,7 +50,8 @@ public interface Attribute { public String getType(); /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java index 62ca1c5e16d..61b990ae68d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/AttributeImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

This type represents the value of an attribute of a product variant. The name and type property must match the name and type property of an attribute definition of the product type.

+ *

Represents the value of an Attribute of a Product Variant.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class AttributeImpl implements Attribute, ModelBase { @@ -42,7 +42,8 @@ public AttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -50,7 +51,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttribute.java index 89007254923..a3391535310 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttribute.java @@ -38,7 +38,7 @@ public interface BooleanAttribute extends Attribute { String BOOLEAN = "boolean"; /** - * + *

true or false

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface BooleanAttribute extends Attribute { public Boolean getValue(); /** - * set value + *

true or false

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeBuilder.java index 06f332a8f77..af67b2ac48e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeBuilder.java @@ -29,7 +29,8 @@ public class BooleanAttributeBuilder implements Builder { private Boolean value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public BooleanAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

true or false

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public BooleanAttributeBuilder value(final Boolean value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

true or false

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java index 909dc65f440..92751ff6342 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanAttributeImpl.java @@ -46,7 +46,8 @@ public BooleanAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

true or false

*/ public Boolean getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttribute.java index 1c4a88b42da..881a49e8d5d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttribute.java @@ -38,7 +38,7 @@ public interface BooleanSetAttribute extends Attribute { String BOOLEAN_SET = "boolean-set"; /** - * + *

A set of boolean values.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface BooleanSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of boolean values.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface BooleanSetAttribute extends Attribute { public void setValue(final Boolean... value); /** - * set value + *

A set of boolean values.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeBuilder.java index 9e293aaf2f0..a45d9b37da9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class BooleanSetAttributeBuilder implements Builder private java.util.List value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public BooleanSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of boolean values.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public BooleanSetAttributeBuilder value(final Boolean... value) { } /** - * set value to the value + *

A set of boolean values.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public BooleanSetAttributeBuilder value(final java.util.List value) { } /** - * add values to the value + *

A set of boolean values.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public BooleanSetAttributeBuilder plusValue(final Boolean... value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of boolean values.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java index 43782f39823..025dffcc875 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/BooleanSetAttributeImpl.java @@ -47,7 +47,8 @@ public BooleanSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of boolean values.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttribute.java index 0bc4f120bbd..6104118514f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttribute.java @@ -39,7 +39,7 @@ public interface DateAttribute extends Attribute { String DATE = "date"; /** - * + *

A date in the format YYYY-MM-DD.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateAttribute extends Attribute { public LocalDate getValue(); /** - * set value + *

A date in the format YYYY-MM-DD.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeBuilder.java index baedcedfc26..0a8e82cf1d4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeBuilder.java @@ -29,7 +29,8 @@ public class DateAttributeBuilder implements Builder { private java.time.LocalDate value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public DateAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

A date in the format YYYY-MM-DD.

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public DateAttributeBuilder value(final java.time.LocalDate value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

A date in the format YYYY-MM-DD.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java index 7c304eb6c33..e5c17cf8109 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateAttributeImpl.java @@ -46,7 +46,8 @@ public DateAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

A date in the format YYYY-MM-DD.

*/ public java.time.LocalDate getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttribute.java index 244618f7d9c..5f35c5e74e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttribute.java @@ -39,7 +39,7 @@ public interface DateSetAttribute extends Attribute { String DATE_SET = "date-set"; /** - * + *

A set of dates in the format YYYY-MM-DD.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of dates in the format YYYY-MM-DD.

* @param value values to be set */ @@ -55,7 +55,7 @@ public interface DateSetAttribute extends Attribute { public void setValue(final LocalDate... value); /** - * set value + *

A set of dates in the format YYYY-MM-DD.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeBuilder.java index bfdd3be5474..b18997747eb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class DateSetAttributeBuilder implements Builder { private java.util.List value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public DateSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of dates in the format YYYY-MM-DD.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public DateSetAttributeBuilder value(final java.time.LocalDate... value) { } /** - * set value to the value + *

A set of dates in the format YYYY-MM-DD.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public DateSetAttributeBuilder value(final java.util.List v } /** - * add values to the value + *

A set of dates in the format YYYY-MM-DD.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public DateSetAttributeBuilder plusValue(final java.time.LocalDate... value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of dates in the format YYYY-MM-DD.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java index 9f76ff4cab4..90163f45f64 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateSetAttributeImpl.java @@ -47,7 +47,8 @@ public DateSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of dates in the format YYYY-MM-DD.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttribute.java index 6c7a9ca93e6..f4f3eeed523 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttribute.java @@ -39,7 +39,7 @@ public interface DateTimeAttribute extends Attribute { String DATETIME = "datetime"; /** - * + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateTimeAttribute extends Attribute { public ZonedDateTime getValue(); /** - * set value + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeBuilder.java index 32cb6064a04..6bb6dee55f1 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeBuilder.java @@ -29,7 +29,8 @@ public class DateTimeAttributeBuilder implements Builder { private java.time.ZonedDateTime value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public DateTimeAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public DateTimeAttributeBuilder value(final java.time.ZonedDateTime value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java index 6b58859fc0a..facd8c331b6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeAttributeImpl.java @@ -47,7 +47,8 @@ public DateTimeAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A date with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

*/ public java.time.ZonedDateTime getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttribute.java index 3a591ee72d4..d3664b4064e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttribute.java @@ -39,7 +39,7 @@ public interface DateTimeSetAttribute extends Attribute { String DATETIME_SET = "datetime-set"; /** - * + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ @NotNull @@ -47,7 +47,7 @@ public interface DateTimeSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value values to be set */ @@ -55,7 +55,7 @@ public interface DateTimeSetAttribute extends Attribute { public void setValue(final ZonedDateTime... value); /** - * set value + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeBuilder.java index d061ae48ab1..ec03c3c72ac 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class DateTimeSetAttributeBuilder implements Builder value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public DateTimeSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public DateTimeSetAttributeBuilder value(final java.time.ZonedDateTime... value) } /** - * set value to the value + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public DateTimeSetAttributeBuilder value(final java.util.ListA set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public DateTimeSetAttributeBuilder plusValue(final java.time.ZonedDateTime... va } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java index 4c5cb757760..156fafa8711 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/DateTimeSetAttributeImpl.java @@ -47,7 +47,8 @@ public DateTimeSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttribute.java index e69a3c83b9e..d957eab62fb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttribute.java @@ -38,7 +38,7 @@ public interface EnumAttribute extends Attribute { String ENUM = "enum"; /** - * + *

The key of the enum value. Must match the key of an AttributePlainEnumValue in the Product Type.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface EnumAttribute extends Attribute { public String getValue(); /** - * set value + *

The key of the enum value. Must match the key of an AttributePlainEnumValue in the Product Type.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeBuilder.java index 16a23a8485f..3a4ab4c17f6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeBuilder.java @@ -29,7 +29,8 @@ public class EnumAttributeBuilder implements Builder { private String value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public EnumAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

The key of the enum value. Must match the key of an AttributePlainEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public EnumAttributeBuilder value(final String value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

The key of the enum value. Must match the key of an AttributePlainEnumValue in the Product Type.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java index dd6d2bbfbd0..14198d26442 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumAttributeImpl.java @@ -46,7 +46,8 @@ public EnumAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

The key of the enum value. Must match the key of an AttributePlainEnumValue in the Product Type.

*/ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttribute.java index 334d3e6c6ed..b92c73eec53 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttribute.java @@ -38,7 +38,7 @@ public interface EnumSetAttribute extends Attribute { String ENUM_SET = "enum-set"; /** - * + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface EnumSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface EnumSetAttribute extends Attribute { public void setValue(final String... value); /** - * set value + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeBuilder.java index 589c7c886af..b65b52cfc2c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class EnumSetAttributeBuilder implements Builder { private java.util.List value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public EnumSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public EnumSetAttributeBuilder value(final String... value) { } /** - * set value to the value + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public EnumSetAttributeBuilder value(final java.util.List value) { } /** - * add values to the value + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public EnumSetAttributeBuilder plusValue(final String... value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java index 50490fac7b7..56d5676def2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/EnumSetAttributeImpl.java @@ -47,7 +47,8 @@ public EnumSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of enum values, each represented by its key. Each key must match the key of an AttributePlainEnumValue in the Product Type.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttribute.java index d4fabcc204a..0d0103b2ebb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttribute.java @@ -38,7 +38,7 @@ public interface LocalizableEnumAttribute extends Attribute { String LENUM = "lenum"; /** - * + *

The key of the localized enum value. Must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface LocalizableEnumAttribute extends Attribute { public String getValue(); /** - * set value + *

The key of the localized enum value. Must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeBuilder.java index 1e153859ed8..e048eb1d2ba 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeBuilder.java @@ -29,7 +29,8 @@ public class LocalizableEnumAttributeBuilder implements BuilderThe name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public LocalizableEnumAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

The key of the localized enum value. Must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public LocalizableEnumAttributeBuilder value(final String value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

The key of the localized enum value. Must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java index c2e7c3dd0e4..6fb225cbc5f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumAttributeImpl.java @@ -46,7 +46,8 @@ public LocalizableEnumAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

The key of the localized enum value. Must match the key of an AttributeLocalizedEnumValue in the Product Type.

*/ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttribute.java index c26b2e532ce..10d370c8377 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttribute.java @@ -38,7 +38,7 @@ public interface LocalizableEnumSetAttribute extends Attribute { String LENUM_SET = "lenum-set"; /** - * + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface LocalizableEnumSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface LocalizableEnumSetAttribute extends Attribute { public void setValue(final String... value); /** - * set value + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeBuilder.java index 64d2248f039..2f2543f789b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class LocalizableEnumSetAttributeBuilder implements Builder value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public LocalizableEnumSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public LocalizableEnumSetAttributeBuilder value(final String... value) { } /** - * set value to the value + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public LocalizableEnumSetAttributeBuilder value(final java.util.List val } /** - * add values to the value + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public LocalizableEnumSetAttributeBuilder plusValue(final String... value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java index 109ffc7af1d..ccd1c2b2b15 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableEnumSetAttributeImpl.java @@ -47,7 +47,8 @@ public LocalizableEnumSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of localized enum values, each represented by its key. Each key must match the key of an AttributeLocalizedEnumValue in the Product Type.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttribute.java index 4e6016e4a73..b996e796e51 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttribute.java @@ -40,12 +40,7 @@ public interface LocalizableTextAttribute extends Attribute { String LTEXT = "ltext"; /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @return value */ @NotNull @@ -54,12 +49,7 @@ public interface LocalizableTextAttribute extends Attribute { public LocalizedString getValue(); /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeBuilder.java index bdcad538367..39213edde89 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeBuilder.java @@ -30,7 +30,8 @@ public class LocalizableTextAttributeBuilder implements BuilderThe name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -41,12 +42,7 @@ public LocalizableTextAttributeBuilder name(@Nullable final String name) { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param builder function to build the value value * @return Builder */ @@ -58,12 +54,7 @@ public LocalizableTextAttributeBuilder value( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param builder function to build the value value * @return Builder */ @@ -75,12 +66,7 @@ public LocalizableTextAttributeBuilder withValue( } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @param value value to be set * @return Builder */ @@ -92,7 +78,8 @@ public LocalizableTextAttributeBuilder value( } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -102,12 +89,7 @@ public String getName() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java index 01fe3f58d39..3fa3f9df54f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextAttributeImpl.java @@ -47,7 +47,8 @@ public LocalizableTextAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,12 +64,7 @@ public String getType() { } /** - *

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.

- *
{
-     *    "de": "Hundefutter",
-     *    "en": "dog food"
-     *  }
-     *  
+ *

A localized string.

*/ public com.commercetools.importapi.models.common.LocalizedString getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttribute.java index 60287893c18..c05318da5f9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttribute.java @@ -41,7 +41,7 @@ public interface LocalizableTextSetAttribute extends Attribute { String LTEXT_SET = "ltext-set"; /** - * + *

A set of localized strings.

* @return value */ @NotNull @@ -50,7 +50,7 @@ public interface LocalizableTextSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of localized strings.

* @param value values to be set */ @@ -58,7 +58,7 @@ public interface LocalizableTextSetAttribute extends Attribute { public void setValue(final LocalizedString... value); /** - * set value + *

A set of localized strings.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeBuilder.java index 141307cdd83..8ffe2888fb3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeBuilder.java @@ -30,7 +30,8 @@ public class LocalizableTextSetAttributeBuilder implements Builder value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -41,7 +42,7 @@ public LocalizableTextSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of localized strings.

* @param value value to be set * @return Builder */ @@ -53,7 +54,7 @@ public LocalizableTextSetAttributeBuilder value( } /** - * set value to the value + *

A set of localized strings.

* @param value value to be set * @return Builder */ @@ -65,7 +66,7 @@ public LocalizableTextSetAttributeBuilder value( } /** - * add values to the value + *

A set of localized strings.

* @param value value to be set * @return Builder */ @@ -80,7 +81,7 @@ public LocalizableTextSetAttributeBuilder plusValue( } /** - * add the value to the value using the builder function + *

A set of localized strings.

* @param builder function to build the value value * @return Builder */ @@ -95,7 +96,7 @@ public LocalizableTextSetAttributeBuilder plusValue( } /** - * set the value to the value using the builder function + *

A set of localized strings.

* @param builder function to build the value value * @return Builder */ @@ -108,7 +109,7 @@ public LocalizableTextSetAttributeBuilder withValue( } /** - * add the value to the value using the builder function + *

A set of localized strings.

* @param builder function to build the value value * @return Builder */ @@ -119,7 +120,7 @@ public LocalizableTextSetAttributeBuilder addValue( } /** - * set the value to the value using the builder function + *

A set of localized strings.

* @param builder function to build the value value * @return Builder */ @@ -130,7 +131,8 @@ public LocalizableTextSetAttributeBuilder setValue( } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -140,7 +142,7 @@ public String getName() { } /** - * value of value} + *

A set of localized strings.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java index f6cf7109b18..6d3165a3781 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/LocalizableTextSetAttributeImpl.java @@ -47,7 +47,8 @@ public LocalizableTextSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of localized strings.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttribute.java index c3e9621d654..e1f6ba2d0a3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttribute.java @@ -40,7 +40,7 @@ public interface MoneyAttribute extends Attribute { String MONEY = "money"; /** - * + *

A money value in cent precision format.

* @return value */ @NotNull @@ -49,7 +49,7 @@ public interface MoneyAttribute extends Attribute { public TypedMoney getValue(); /** - * set value + *

A money value in cent precision format.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeBuilder.java index 08ed89ccc43..62d4728009e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeBuilder.java @@ -30,7 +30,8 @@ public class MoneyAttributeBuilder implements Builder { private com.commercetools.importapi.models.common.TypedMoney value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -41,7 +42,7 @@ public MoneyAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

A money value in cent precision format.

* @param value value to be set * @return Builder */ @@ -52,7 +53,7 @@ public MoneyAttributeBuilder value(final com.commercetools.importapi.models.comm } /** - * set the value to the value using the builder function + *

A money value in cent precision format.

* @param builder function to build the value value * @return Builder */ @@ -64,7 +65,8 @@ public MoneyAttributeBuilder value( } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -74,7 +76,7 @@ public String getName() { } /** - * value of value} + *

A money value in cent precision format.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java index 07e0f5e6d2c..6de20470f77 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneyAttributeImpl.java @@ -47,7 +47,8 @@ public MoneyAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A money value in cent precision format.

*/ public com.commercetools.importapi.models.common.TypedMoney getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttribute.java index 241eb3c66b2..cbde78e1e84 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttribute.java @@ -41,7 +41,7 @@ public interface MoneySetAttribute extends Attribute { String MONEY_SET = "money-set"; /** - * + *

A set of money values in cent precision format.

* @return value */ @NotNull @@ -50,7 +50,7 @@ public interface MoneySetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of money values in cent precision format.

* @param value values to be set */ @@ -58,7 +58,7 @@ public interface MoneySetAttribute extends Attribute { public void setValue(final TypedMoney... value); /** - * set value + *

A set of money values in cent precision format.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeBuilder.java index 08bfe303eb7..c038011fe6e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeBuilder.java @@ -30,7 +30,8 @@ public class MoneySetAttributeBuilder implements Builder { private java.util.List value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -41,7 +42,7 @@ public MoneySetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of money values in cent precision format.

* @param value value to be set * @return Builder */ @@ -52,7 +53,7 @@ public MoneySetAttributeBuilder value(final com.commercetools.importapi.models.c } /** - * set value to the value + *

A set of money values in cent precision format.

* @param value value to be set * @return Builder */ @@ -64,7 +65,7 @@ public MoneySetAttributeBuilder value( } /** - * add values to the value + *

A set of money values in cent precision format.

* @param value value to be set * @return Builder */ @@ -78,7 +79,7 @@ public MoneySetAttributeBuilder plusValue(final com.commercetools.importapi.mode } /** - * add a value to the value using the builder function + *

A set of money values in cent precision format.

* @param builder function to build the value value * @return Builder */ @@ -93,7 +94,7 @@ public MoneySetAttributeBuilder plusValue( } /** - * set the value to the value using the builder function + *

A set of money values in cent precision format.

* @param builder function to build the value value * @return Builder */ @@ -106,7 +107,8 @@ public MoneySetAttributeBuilder withValue( } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -116,7 +118,7 @@ public String getName() { } /** - * value of value} + *

A set of money values in cent precision format.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java index 91f2954ed6c..0ceed03481c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/MoneySetAttributeImpl.java @@ -47,7 +47,8 @@ public MoneySetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of money values in cent precision format.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttribute.java index 3c42a923e5b..1e0716dc566 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttribute.java @@ -38,7 +38,7 @@ public interface NumberAttribute extends Attribute { String NUMBER = "number"; /** - * + *

A number value. Can be an integer or a floating-point number.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface NumberAttribute extends Attribute { public Double getValue(); /** - * set value + *

A number value. Can be an integer or a floating-point number.

* @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeBuilder.java index da758bc42ca..d4dc2b2a3b9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeBuilder.java @@ -29,7 +29,8 @@ public class NumberAttributeBuilder implements Builder { private Double value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public NumberAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

A number value. Can be an integer or a floating-point number.

* @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public NumberAttributeBuilder value(final Double value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

A number value. Can be an integer or a floating-point number.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java index ca42baeacee..7db9d0665bf 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberAttributeImpl.java @@ -46,7 +46,8 @@ public NumberAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

A number value. Can be an integer or a floating-point number.

*/ public Double getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttribute.java index ade2699643c..c9a7295efc9 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttribute.java @@ -38,7 +38,7 @@ public interface NumberSetAttribute extends Attribute { String NUMBER_SET = "number-set"; /** - * + *

A set of number values. Each value can be an integer or a floating-point number.

* @return value */ @NotNull @@ -46,7 +46,7 @@ public interface NumberSetAttribute extends Attribute { public List getValue(); /** - * set value + *

A set of number values. Each value can be an integer or a floating-point number.

* @param value values to be set */ @@ -54,7 +54,7 @@ public interface NumberSetAttribute extends Attribute { public void setValue(final Double... value); /** - * set value + *

A set of number values. Each value can be an integer or a floating-point number.

* @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeBuilder.java index 614599e727f..8a94f7995c2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class NumberSetAttributeBuilder implements Builder { private java.util.List value; /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public NumberSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

A set of number values. Each value can be an integer or a floating-point number.

* @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public NumberSetAttributeBuilder value(final Double... value) { } /** - * set value to the value + *

A set of number values. Each value can be an integer or a floating-point number.

* @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public NumberSetAttributeBuilder value(final java.util.List value) { } /** - * add values to the value + *

A set of number values. Each value can be an integer or a floating-point number.

* @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public NumberSetAttributeBuilder plusValue(final Double... value) { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

* @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

A set of number values. Each value can be an integer or a floating-point number.

* @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java index a41f6d20c67..69943915b99 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/NumberSetAttributeImpl.java @@ -47,7 +47,8 @@ public NumberSetAttributeImpl() { } /** - *

The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

+ *

Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

+ *

Must match name of an AttributeDefinition of the Product Type.

*/ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

*/ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

A set of number values. Each value can be an integer or a floating-point number.

*/ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImport.java index 70aa8390cd2..3d663fc1531 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImport.java @@ -21,7 +21,7 @@ import jakarta.validation.constraints.NotNull; /** - *

The data representation for a ProductVariant to be imported that is persisted as a ProductVariant in the Project.

+ *

Represents the data used to import a ProductVariant. Once imported, this data is persisted as a ProductVariant in the Project.

* *
* Example to create an instance using the builder pattern @@ -40,7 +40,7 @@ public interface ProductVariantImport extends ImportResource { /** - *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it is updated with the imported data.

* @return key */ @NotNull @@ -102,7 +102,7 @@ public interface ProductVariantImport extends ImportResource { public Boolean getStaged(); /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ @NotNull @@ -111,7 +111,7 @@ public interface ProductVariantImport extends ImportResource { public ProductKeyReference getProduct(); /** - *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it is updated with the imported data.

* @param key value to be set */ @@ -190,7 +190,7 @@ public interface ProductVariantImport extends ImportResource { public void setStaged(final Boolean staged); /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportBuilder.java index 9427e89f61d..c58e0a89eb3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportBuilder.java @@ -48,7 +48,7 @@ public class ProductVariantImportBuilder implements BuilderUser-defined unique identifier. If a ProductVariant with this key exists on the specified product, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it is updated with the imported data.

* @param key value to be set * @return Builder */ @@ -345,7 +345,7 @@ public ProductVariantImportBuilder staged(@Nullable final Boolean staged) { } /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -357,7 +357,7 @@ public ProductVariantImportBuilder product( } /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param builder function to build the product value * @return Builder */ @@ -369,7 +369,7 @@ public ProductVariantImportBuilder withProduct( } /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @param product value to be set * @return Builder */ @@ -381,7 +381,7 @@ public ProductVariantImportBuilder product( } /** - *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it is updated with the imported data.

* @return key */ @@ -455,7 +455,7 @@ public Boolean getStaged() { } /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

* @return product */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java index 6760db1f4f0..03c081ed1b3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

The data representation for a ProductVariant to be imported that is persisted as a ProductVariant in the Project.

+ *

Represents the data used to import a ProductVariant. Once imported, this data is persisted as a ProductVariant in the Project.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantImportImpl implements ProductVariantImport, ModelBase { @@ -66,7 +66,7 @@ public ProductVariantImportImpl() { } /** - *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it will be updated with the imported data.

+ *

User-defined unique identifier. If a ProductVariant with this key exists on the specified product, it is updated with the imported data.

*/ public String getKey() { @@ -128,7 +128,7 @@ public Boolean getStaged() { } /** - *

The Product to which this Product Variant belongs. Maps to ProductVariant.product. The Reference to the Product with which the ProductVariant is associated. If referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the necessary Product is created.

+ *

The Product containing this ProductVariant. If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

*/ public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatch.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatch.java index 753ece40e0c..1acb1601d92 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatch.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatch.java @@ -18,7 +18,7 @@ import jakarta.validation.constraints.NotNull; /** - *

Representation for an update of a ProductVariant. Use this type to import updates for existing ProductVariants in a Project.

+ *

Represents the data used to update a ProductVariant.

* *
* Example to create an instance using the builder pattern @@ -35,7 +35,7 @@ public interface ProductVariantPatch { /** - *

Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

+ *

Reference to the ProductVariant to update.

* @return productVariant */ @NotNull @@ -49,7 +49,7 @@ public interface ProductVariantPatch { *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @return attributes */ @@ -68,6 +68,7 @@ public interface ProductVariantPatch { /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @return product */ @Valid @@ -75,7 +76,7 @@ public interface ProductVariantPatch { public ProductKeyReference getProduct(); /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    * @param productVariant value to be set */ @@ -87,7 +88,7 @@ public interface ProductVariantPatch { *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @param attributes value to be set */ @@ -104,6 +105,7 @@ public interface ProductVariantPatch { /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @param product value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchBuilder.java index 4422ae6c1d9..89b8dd08d49 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchBuilder.java @@ -36,7 +36,7 @@ public class ProductVariantPatchBuilder implements Builder private com.commercetools.importapi.models.common.ProductKeyReference product; /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    * @param builder function to build the productVariant value * @return Builder */ @@ -50,7 +50,7 @@ public ProductVariantPatchBuilder productVariant( } /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    * @param builder function to build the productVariant value * @return Builder */ @@ -63,7 +63,7 @@ public ProductVariantPatchBuilder withProductVariant( } /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    * @param productVariant value to be set * @return Builder */ @@ -80,7 +80,7 @@ public ProductVariantPatchBuilder productVariant( *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @param builder function to build the attributes value * @return Builder @@ -99,7 +99,7 @@ public ProductVariantPatchBuilder attributes( *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @param builder function to build the attributes value * @return Builder @@ -117,7 +117,7 @@ public ProductVariantPatchBuilder withAttributes( *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @param attributes value to be set * @return Builder @@ -143,6 +143,7 @@ public ProductVariantPatchBuilder staged(@Nullable final Boolean staged) { /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @param builder function to build the product value * @return Builder */ @@ -156,6 +157,7 @@ public ProductVariantPatchBuilder product( /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @param builder function to build the product value * @return Builder */ @@ -169,6 +171,7 @@ public ProductVariantPatchBuilder withProduct( /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @param product value to be set * @return Builder */ @@ -180,7 +183,7 @@ public ProductVariantPatchBuilder product( } /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    * @return productVariant */ @@ -194,7 +197,7 @@ public com.commercetools.importapi.models.common.ProductVariantKeyReference getP *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * * @return attributes */ @@ -217,6 +220,7 @@ public Boolean getStaged() { /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    * @return product */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java index 8e241c40364..881a92c5613 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    Representation for an update of a ProductVariant. Use this type to import updates for existing ProductVariants in a Project.

    + *

    Represents the data used to update a ProductVariant.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ProductVariantPatchImpl implements ProductVariantPatch, ModelBase { @@ -52,7 +52,7 @@ public ProductVariantPatchImpl() { } /** - *

    Reference to the ProductVariant to update. If the referenced ProductVariant does not exist, the state of the ImportOperation will be set to unresolved until the necessary ProductVariant is created.

    + *

    Reference to the ProductVariant to update.

    */ public com.commercetools.importapi.models.common.ProductVariantKeyReference getProductVariant() { @@ -65,7 +65,7 @@ public com.commercetools.importapi.models.common.ProductVariantKeyReference getP *
  • The referenced Attribute must be defined in an existing ProductType, or the state of the ImportOperation will be validationFailed.
  • *
  • Setting the value of a non-required Attribute to null will remove the Attribute.
  • *
  • Attempting to set a null value to a required Attribute will make the import operation fail with an InvalidOperation error.
  • - *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can also delete localized fields by setting their value to null.
  • + *
  • Importing LocalizableTextAttributes or LocalizableTextSetAttributes follows an override pattern, meaning that omitted localized fields will be deleted, new fields will be created, and existing fields will be updated. You can delete localized fields by setting their value to null.
  • * */ @@ -84,6 +84,7 @@ public Boolean getStaged() { /** *

    Reference to the Product that contains the ProductVariant.

    *

    We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.

    + *

    If the referenced Product does not exist, the state of the ImportOperation will be set to unresolved until the referenced Product is created.

    */ public com.commercetools.importapi.models.common.ProductKeyReference getProduct() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeBuilder.java index 416c46a2c4b..c6eac758f39 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeBuilder.java @@ -30,7 +30,8 @@ public class ReferenceAttributeBuilder implements Builder { private com.commercetools.importapi.models.common.KeyReference value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -64,7 +65,8 @@ public ReferenceAttributeBuilder value( } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java index 5adb29e723b..6dcda190c20 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceAttributeImpl.java @@ -47,7 +47,8 @@ public ReferenceAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttribute.java index d2e6b012e8d..739e795a589 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttribute.java @@ -41,7 +41,7 @@ public interface ReferenceSetAttribute extends Attribute { String REFERENCE_SET = "reference-set"; /** - * + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @return value */ @NotNull @@ -50,7 +50,7 @@ public interface ReferenceSetAttribute extends Attribute { public List getValue(); /** - * set value + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param value values to be set */ @@ -58,7 +58,7 @@ public interface ReferenceSetAttribute extends Attribute { public void setValue(final KeyReference... value); /** - * set value + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeBuilder.java index fce82433a03..3abddc87e89 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeBuilder.java @@ -30,7 +30,8 @@ public class ReferenceSetAttributeBuilder implements Builder value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -41,7 +42,7 @@ public ReferenceSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param value value to be set * @return Builder */ @@ -52,7 +53,7 @@ public ReferenceSetAttributeBuilder value(final com.commercetools.importapi.mode } /** - * set value to the value + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param value value to be set * @return Builder */ @@ -64,7 +65,7 @@ public ReferenceSetAttributeBuilder value( } /** - * add values to the value + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param value value to be set * @return Builder */ @@ -79,7 +80,7 @@ public ReferenceSetAttributeBuilder plusValue( } /** - * add a value to the value using the builder function + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param builder function to build the value value * @return Builder */ @@ -94,7 +95,7 @@ public ReferenceSetAttributeBuilder plusValue( } /** - * set the value to the value using the builder function + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @param builder function to build the value value * @return Builder */ @@ -107,7 +108,8 @@ public ReferenceSetAttributeBuilder withValue( } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ @@ -117,7 +119,7 @@ public String getName() { } /** - * value of value} + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    * @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java index d16d38f5b6e..bf3b06f1f72 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ReferenceSetAttributeImpl.java @@ -47,7 +47,8 @@ public ReferenceSetAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

    A set of references, each referencing a resource by key. Each reference must match the key of an existing resource in the project.

    */ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttribute.java index 401bb3aa5b2..921072ffaf8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttribute.java @@ -38,7 +38,7 @@ public interface TextAttribute extends Attribute { String TEXT = "text"; /** - * + *

    A text value.

    * @return value */ @NotNull @@ -46,7 +46,7 @@ public interface TextAttribute extends Attribute { public String getValue(); /** - * set value + *

    A text value.

    * @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeBuilder.java index 9a574441934..cea11549e02 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeBuilder.java @@ -29,7 +29,8 @@ public class TextAttributeBuilder implements Builder { private String value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public TextAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

    A text value.

    * @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public TextAttributeBuilder value(final String value) { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

    A text value.

    * @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java index b95af8f449e..cd64bfa968c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextAttributeImpl.java @@ -46,7 +46,8 @@ public TextAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

    A text value.

    */ public String getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttribute.java index 6746e3ac5f7..c3b4605079b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttribute.java @@ -38,7 +38,7 @@ public interface TextSetAttribute extends Attribute { String TEXT_SET = "text-set"; /** - * + *

    A set of text values.

    * @return value */ @NotNull @@ -46,7 +46,7 @@ public interface TextSetAttribute extends Attribute { public List getValue(); /** - * set value + *

    A set of text values.

    * @param value values to be set */ @@ -54,7 +54,7 @@ public interface TextSetAttribute extends Attribute { public void setValue(final String... value); /** - * set value + *

    A set of text values.

    * @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeBuilder.java index 1f5d473d0a3..d9c5bca1fd4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class TextSetAttributeBuilder implements Builder { private java.util.List value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public TextSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

    A set of text values.

    * @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public TextSetAttributeBuilder value(final String... value) { } /** - * set value to the value + *

    A set of text values.

    * @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public TextSetAttributeBuilder value(final java.util.List value) { } /** - * add values to the value + *

    A set of text values.

    * @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public TextSetAttributeBuilder plusValue(final String... value) { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

    A set of text values.

    * @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java index 8efc45ddcb6..70e534b99e5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TextSetAttributeImpl.java @@ -47,7 +47,8 @@ public TextSetAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

    A set of text values.

    */ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttribute.java index 8fa325ae041..cb9d1897677 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttribute.java @@ -39,7 +39,7 @@ public interface TimeAttribute extends Attribute { String TIME = "time"; /** - * + *

    A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @return value */ @NotNull @@ -47,7 +47,7 @@ public interface TimeAttribute extends Attribute { public LocalTime getValue(); /** - * set value + *

    A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeBuilder.java index d7159ac5bbb..d6b04bac27e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeBuilder.java @@ -29,7 +29,8 @@ public class TimeAttributeBuilder implements Builder { private java.time.LocalTime value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public TimeAttributeBuilder name(@Nullable final String name) { } /** - * set the value to the value + *

    A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value value to be set * @return Builder */ @@ -51,7 +52,8 @@ public TimeAttributeBuilder value(final java.time.LocalTime value) { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ @@ -61,7 +63,7 @@ public String getName() { } /** - * value of value} + *

    A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java index cbaf8bc2588..ede50a4f287 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeAttributeImpl.java @@ -46,7 +46,8 @@ public TimeAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -54,7 +55,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { @@ -62,7 +63,7 @@ public String getType() { } /** - * + *

    A time value in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    */ public java.time.LocalTime getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttribute.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttribute.java index 6eae0c92028..16c43449fa6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttribute.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttribute.java @@ -39,7 +39,7 @@ public interface TimeSetAttribute extends Attribute { String TIME_SET = "time-set"; /** - * + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @return value */ @NotNull @@ -47,7 +47,7 @@ public interface TimeSetAttribute extends Attribute { public List getValue(); /** - * set value + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value values to be set */ @@ -55,7 +55,7 @@ public interface TimeSetAttribute extends Attribute { public void setValue(final LocalTime... value); /** - * set value + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value values to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeBuilder.java index dd75ac9878e..c060d4cf368 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeBuilder.java @@ -29,7 +29,8 @@ public class TimeSetAttributeBuilder implements Builder { private java.util.List value; /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @param name value to be set * @return Builder */ @@ -40,7 +41,7 @@ public TimeSetAttributeBuilder name(@Nullable final String name) { } /** - * set values to the value + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value value to be set * @return Builder */ @@ -51,7 +52,7 @@ public TimeSetAttributeBuilder value(final java.time.LocalTime... value) { } /** - * set value to the value + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value value to be set * @return Builder */ @@ -62,7 +63,7 @@ public TimeSetAttributeBuilder value(final java.util.List v } /** - * add values to the value + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @param value value to be set * @return Builder */ @@ -76,7 +77,8 @@ public TimeSetAttributeBuilder plusValue(final java.time.LocalTime... value) { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    * @return name */ @@ -86,7 +88,7 @@ public String getName() { } /** - * value of value} + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    * @return value */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java index 7fa821ab3a0..d10001eb9bc 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/TimeSetAttributeImpl.java @@ -47,7 +47,8 @@ public TimeSetAttributeImpl() { } /** - *

    The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.

    + *

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    + *

    Must match name of an AttributeDefinition of the Product Type.

    */ public String getName() { @@ -55,7 +56,7 @@ public String getName() { } /** - * + *

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    */ public String getType() { @@ -63,7 +64,7 @@ public String getType() { } /** - * + *

    A set of time values in the format HH:mm:ss.SSS. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.

    */ public java.util.List getValue() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java index 3b2197a07e7..277230d3cd3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImport.java @@ -25,7 +25,7 @@ import jakarta.validation.constraints.NotNull; /** - *

    The data representation for a Standalone Price to be imported that is persisted as a Standalone Price) in the Project.

    + *

    Represents the data used to import a StandalonePrice. Once imported, this data is persisted as a StandalonePrice) in the Project.

    * *
    * Example to create an instance using the builder pattern @@ -44,7 +44,7 @@ public interface StandalonePriceImport extends ImportResource { /** - *

    User-defined unique identifier for the Standalone Price. If a StandalonePrice) with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    * @return key */ @NotNull @@ -52,7 +52,7 @@ public interface StandalonePriceImport extends ImportResource { public String getKey(); /** - *

    Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

    + *

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    * @return sku */ @NotNull @@ -60,7 +60,7 @@ public interface StandalonePriceImport extends ImportResource { public String getSku(); /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    * @return value */ @NotNull @@ -69,8 +69,7 @@ public interface StandalonePriceImport extends ImportResource { public TypedMoney getValue(); /** - *

    Sets the country for this Price, if the Price does not yet have a country.

    - *

    The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return country */ @@ -78,8 +77,8 @@ public interface StandalonePriceImport extends ImportResource { public String getCountry(); /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return customerGroup */ @Valid @@ -87,8 +86,8 @@ public interface StandalonePriceImport extends ImportResource { public CustomerGroupKeyReference getCustomerGroup(); /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return channel */ @Valid @@ -96,7 +95,7 @@ public interface StandalonePriceImport extends ImportResource { public ChannelKeyReference getChannel(); /** - *

    Sets the date from which the Price is valid.

    + *

    Maps to StandalonePrice.validFrom.

    * @return validFrom */ @@ -104,7 +103,7 @@ public interface StandalonePriceImport extends ImportResource { public ZonedDateTime getValidFrom(); /** - *

    Sets the date until the Price is valid.

    + *

    Maps to StandalonePrice.validUntil.

    * @return validUntil */ @@ -112,7 +111,7 @@ public interface StandalonePriceImport extends ImportResource { public ZonedDateTime getValidUntil(); /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @return tiers */ @Valid @@ -128,7 +127,7 @@ public interface StandalonePriceImport extends ImportResource { public DiscountedPrice getDiscounted(); /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @return custom */ @Valid @@ -136,66 +135,65 @@ public interface StandalonePriceImport extends ImportResource { public Custom getCustom(); /** - *

    User-defined unique identifier for the Standalone Price. If a StandalonePrice) with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    * @param key value to be set */ public void setKey(final String key); /** - *

    Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

    + *

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    * @param sku value to be set */ public void setSku(final String sku); /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    * @param value value to be set */ public void setValue(final TypedMoney value); /** - *

    Sets the country for this Price, if the Price does not yet have a country.

    - *

    The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param country value to be set */ public void setCountry(final String country); /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param customerGroup value to be set */ public void setCustomerGroup(final CustomerGroupKeyReference customerGroup); /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param channel value to be set */ public void setChannel(final ChannelKeyReference channel); /** - *

    Sets the date from which the Price is valid.

    + *

    Maps to StandalonePrice.validFrom.

    * @param validFrom value to be set */ public void setValidFrom(final ZonedDateTime validFrom); /** - *

    Sets the date until the Price is valid.

    + *

    Maps to StandalonePrice.validUntil.

    * @param validUntil value to be set */ public void setValidUntil(final ZonedDateTime validUntil); /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param tiers values to be set */ @@ -203,7 +201,7 @@ public interface StandalonePriceImport extends ImportResource { public void setTiers(final PriceTier... tiers); /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param tiers values to be set */ @@ -217,7 +215,7 @@ public interface StandalonePriceImport extends ImportResource { public void setDiscounted(final DiscountedPrice discounted); /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @param custom value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java index aabd6f20cca..a30987dd348 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportBuilder.java @@ -57,7 +57,7 @@ public class StandalonePriceImportBuilder implements BuilderUser-defined unique identifier for the Standalone Price. If a StandalonePrice) with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    * @param key value to be set * @return Builder */ @@ -68,7 +68,7 @@ public StandalonePriceImportBuilder key(final String key) { } /** - *

    Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

    + *

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    * @param sku value to be set * @return Builder */ @@ -79,7 +79,7 @@ public StandalonePriceImportBuilder sku(final String sku) { } /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    * @param value value to be set * @return Builder */ @@ -90,7 +90,7 @@ public StandalonePriceImportBuilder value(final com.commercetools.importapi.mode } /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    * @param builder function to build the value value * @return Builder */ @@ -102,8 +102,7 @@ public StandalonePriceImportBuilder value( } /** - *

    Sets the country for this Price, if the Price does not yet have a country.

    - *

    The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param country value to be set * @return Builder */ @@ -114,8 +113,8 @@ public StandalonePriceImportBuilder country(@Nullable final String country) { } /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param builder function to build the customerGroup value * @return Builder */ @@ -129,8 +128,8 @@ public StandalonePriceImportBuilder customerGroup( } /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param builder function to build the customerGroup value * @return Builder */ @@ -143,8 +142,8 @@ public StandalonePriceImportBuilder withCustomerGroup( } /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param customerGroup value to be set * @return Builder */ @@ -156,8 +155,8 @@ public StandalonePriceImportBuilder customerGroup( } /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param builder function to build the channel value * @return Builder */ @@ -169,8 +168,8 @@ public StandalonePriceImportBuilder channel( } /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param builder function to build the channel value * @return Builder */ @@ -182,8 +181,8 @@ public StandalonePriceImportBuilder withChannel( } /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @param channel value to be set * @return Builder */ @@ -195,7 +194,7 @@ public StandalonePriceImportBuilder channel( } /** - *

    Sets the date from which the Price is valid.

    + *

    Maps to StandalonePrice.validFrom.

    * @param validFrom value to be set * @return Builder */ @@ -206,7 +205,7 @@ public StandalonePriceImportBuilder validFrom(@Nullable final java.time.ZonedDat } /** - *

    Sets the date until the Price is valid.

    + *

    Maps to StandalonePrice.validUntil.

    * @param validUntil value to be set * @return Builder */ @@ -217,7 +216,7 @@ public StandalonePriceImportBuilder validUntil(@Nullable final java.time.ZonedDa } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param tiers value to be set * @return Builder */ @@ -229,7 +228,7 @@ public StandalonePriceImportBuilder tiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param tiers value to be set * @return Builder */ @@ -241,7 +240,7 @@ public StandalonePriceImportBuilder tiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param tiers value to be set * @return Builder */ @@ -256,7 +255,7 @@ public StandalonePriceImportBuilder plusTiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param builder function to build the tiers value * @return Builder */ @@ -271,7 +270,7 @@ public StandalonePriceImportBuilder plusTiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param builder function to build the tiers value * @return Builder */ @@ -284,7 +283,7 @@ public StandalonePriceImportBuilder withTiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param builder function to build the tiers value * @return Builder */ @@ -295,7 +294,7 @@ public StandalonePriceImportBuilder addTiers( } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @param builder function to build the tiers value * @return Builder */ @@ -342,7 +341,7 @@ public StandalonePriceImportBuilder discounted( } /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @param builder function to build the custom value * @return Builder */ @@ -354,7 +353,7 @@ public StandalonePriceImportBuilder custom( } /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @param builder function to build the custom value * @return Builder */ @@ -366,7 +365,7 @@ public StandalonePriceImportBuilder withCustom( } /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @param custom value to be set * @return Builder */ @@ -378,7 +377,7 @@ public StandalonePriceImportBuilder custom( } /** - *

    User-defined unique identifier for the Standalone Price. If a StandalonePrice) with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    * @return key */ @@ -387,7 +386,7 @@ public String getKey() { } /** - *

    Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

    + *

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    * @return sku */ @@ -396,7 +395,7 @@ public String getSku() { } /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    * @return value */ @@ -405,8 +404,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

    Sets the country for this Price, if the Price does not yet have a country.

    - *

    The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return country */ @@ -416,8 +414,8 @@ public String getCountry() { } /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return customerGroup */ @@ -427,8 +425,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    * @return channel */ @@ -438,7 +436,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel( } /** - *

    Sets the date from which the Price is valid.

    + *

    Maps to StandalonePrice.validFrom.

    * @return validFrom */ @@ -448,7 +446,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

    Sets the date until the Price is valid.

    + *

    Maps to StandalonePrice.validUntil.

    * @return validUntil */ @@ -458,7 +456,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    * @return tiers */ @@ -478,7 +476,7 @@ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() } /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    * @return custom */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java index 0fcb57cf62d..5292867a885 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/standalone_prices/StandalonePriceImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    The data representation for a Standalone Price to be imported that is persisted as a Standalone Price) in the Project.

    + *

    Represents the data used to import a StandalonePrice. Once imported, this data is persisted as a StandalonePrice) in the Project.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class StandalonePriceImportImpl implements StandalonePriceImport, ModelBase { @@ -78,7 +78,7 @@ public StandalonePriceImportImpl() { } /** - *

    User-defined unique identifier for the Standalone Price. If a StandalonePrice) with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the StandalonePrice. If a StandalonePrice) with this key exists, it is updated with the imported data.

    */ public String getKey() { @@ -86,7 +86,7 @@ public String getKey() { } /** - *

    Identifies the ProductVariant to which this Standalone Price is associated. This value is not validated to exist in Product Variants.

    + *

    Maps to StandalonePrice.sku. This value is not validated to exist in Product Variants.

    */ public String getSku() { @@ -94,7 +94,7 @@ public String getSku() { } /** - *

    Sets the money value of this Price.

    + *

    Maps to StandalonePrice.value.

    */ public com.commercetools.importapi.models.common.TypedMoney getValue() { @@ -102,8 +102,7 @@ public com.commercetools.importapi.models.common.TypedMoney getValue() { } /** - *

    Sets the country for this Price, if the Price does not yet have a country.

    - *

    The country cannot be updated. Attempting to update the an existing country will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.country. This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    */ public String getCountry() { @@ -111,8 +110,8 @@ public String getCountry() { } /** - *

    Sets the CustomerGroup for this Price, if the Price does not yet have a CustomerGroup.

    - *

    The CustomerGroup cannot be updated. Attempting to update an existing CustomerGroup will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.customerGroup. If the referenced CustomerGroup does not exist, the state of the ImportOperation will be set to unresolved until the referenced CustomerGroup is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    */ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCustomerGroup() { @@ -120,8 +119,8 @@ public com.commercetools.importapi.models.common.CustomerGroupKeyReference getCu } /** - *

    Sets the product distribution Channel for this Price, if the Price does not yet have a Channel.

    - *

    The Channel cannot be updated. Attempting to update an existing Channel will result in an InvalidFieldsUpdate error.

    + *

    Maps to StandalonePrice.channel. If the referenced Channel does not exist, the state of the ImportOperation will be set to unresolved until the referenced Channel is created.

    + *

    This value cannot be updated. Attempting to update this value will result in an InvalidFieldsUpdate error.

    */ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel() { @@ -129,7 +128,7 @@ public com.commercetools.importapi.models.common.ChannelKeyReference getChannel( } /** - *

    Sets the date from which the Price is valid.

    + *

    Maps to StandalonePrice.validFrom.

    */ public java.time.ZonedDateTime getValidFrom() { @@ -137,7 +136,7 @@ public java.time.ZonedDateTime getValidFrom() { } /** - *

    Sets the date until the Price is valid.

    + *

    Maps to StandalonePrice.validUntil.

    */ public java.time.ZonedDateTime getValidUntil() { @@ -145,7 +144,7 @@ public java.time.ZonedDateTime getValidUntil() { } /** - *

    Sets price tiers.

    + *

    Maps to StandalonePrice.tiers.

    */ public java.util.List getTiers() { @@ -161,7 +160,7 @@ public com.commercetools.importapi.models.common.DiscountedPrice getDiscounted() } /** - *

    Custom Fields for the StandalonePrice.

    + *

    Maps to StandalonePrice.custom.

    */ public com.commercetools.importapi.models.customfields.Custom getCustom() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java index 77e61a2cc92..e0b757f816c 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldBooleanTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldBooleanTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java index 76e5c9b1817..35b775d95f3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTimeTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldDateTimeTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java index 6cf9d172208..c8883dd9bef 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldDateTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldDateTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java index 4376f80cb71..65e6ca6ae54 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldEnumTypeImpl.java @@ -44,7 +44,7 @@ public CustomFieldEnumTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java index ce8f862ae0b..b9468611761 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedEnumTypeImpl.java @@ -44,7 +44,7 @@ public CustomFieldLocalizedEnumTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java index 113b82aaed9..feb48a175d5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldLocalizedStringTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldLocalizedStringTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java index 8bc5116bf85..1a04e5e984a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldMoneyTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldMoneyTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java index 52ab3393a91..83bdf0d6854 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldNumberTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldNumberTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java index e0535834575..318eab82635 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceTypeImpl.java @@ -44,7 +44,7 @@ public CustomFieldReferenceTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceValue.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceValue.java index 05d8381a19c..239f4fc3729 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceValue.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldReferenceValue.java @@ -16,34 +16,50 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface CustomFieldReferenceValue extends JsonEnum { + /** +

    AssociateRole

    */ CustomFieldReferenceValue ASSOCIATE_ROLE = CustomFieldReferenceValueEnum.ASSOCIATE_ROLE; - + /** +

    BusinessUnit

    */ CustomFieldReferenceValue BUSINESS_UNIT = CustomFieldReferenceValueEnum.BUSINESS_UNIT; - + /** +

    Cart

    */ CustomFieldReferenceValue CART = CustomFieldReferenceValueEnum.CART; - + /** +

    Category

    */ CustomFieldReferenceValue CATEGORY = CustomFieldReferenceValueEnum.CATEGORY; - + /** +

    Channel

    */ CustomFieldReferenceValue CHANNEL = CustomFieldReferenceValueEnum.CHANNEL; - + /** +

    Customer

    */ CustomFieldReferenceValue CUSTOMER = CustomFieldReferenceValueEnum.CUSTOMER; - + /** +

    CustomerGroup

    */ CustomFieldReferenceValue CUSTOMER_GROUP = CustomFieldReferenceValueEnum.CUSTOMER_GROUP; - + /** +

    CustomObject

    */ CustomFieldReferenceValue KEY_VALUE_DOCUMENT = CustomFieldReferenceValueEnum.KEY_VALUE_DOCUMENT; - + /** +

    Order

    */ CustomFieldReferenceValue ORDER = CustomFieldReferenceValueEnum.ORDER; - + /** +

    Product

    */ CustomFieldReferenceValue PRODUCT = CustomFieldReferenceValueEnum.PRODUCT; - + /** +

    ProductType

    */ CustomFieldReferenceValue PRODUCT_TYPE = CustomFieldReferenceValueEnum.PRODUCT_TYPE; - + /** +

    Review

    */ CustomFieldReferenceValue REVIEW = CustomFieldReferenceValueEnum.REVIEW; - + /** +

    State

    */ CustomFieldReferenceValue STATE = CustomFieldReferenceValueEnum.STATE; - + /** +

    ShippingMethod

    */ CustomFieldReferenceValue SHIPPING_METHOD = CustomFieldReferenceValueEnum.SHIPPING_METHOD; - + /** +

    Zone

    */ CustomFieldReferenceValue ZONE = CustomFieldReferenceValueEnum.ZONE; /** diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java index 3161c63af73..fd22ce238dd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldSetTypeImpl.java @@ -44,7 +44,7 @@ public CustomFieldSetTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java index 8fd78d4f921..3dbc23e9a59 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldStringTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldStringTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java index 35231ca36e6..bd8abe5e320 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/CustomFieldTimeTypeImpl.java @@ -32,7 +32,7 @@ public CustomFieldTimeTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldType.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldType.java index a16cc6492c3..6e8d8f5f555 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldType.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldType.java @@ -15,7 +15,7 @@ import jakarta.validation.constraints.NotNull; /** - * FieldType + *

    Defines the data type of a Custom Field. Maps to Type.FieldDefinition.type. The discriminator is used to determine the type of the field.

    * *
    * Example to create a subtype instance using the builder pattern @@ -32,7 +32,7 @@ public interface FieldType { /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    * @return name */ @NotNull diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java index 23127109e2f..872b60c4d43 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/FieldTypeImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - * FieldType + *

    Defines the data type of a Custom Field. Maps to Type.FieldDefinition.type. The discriminator is used to determine the type of the field.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class FieldTypeImpl implements FieldType, ModelBase { @@ -39,7 +39,7 @@ public FieldTypeImpl() { } /** - * + *

    Name of the field type. Must be unique for a given ResourceTypeId. In case there is a FieldDefinition with the same name in another Type, both FieldDefinitions must have the same type. This value cannot be changed after the Type is imported.

    */ public String getName() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/ResourceTypeId.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/ResourceTypeId.java index d4f62f7b9bb..9a298d61b1e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/ResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/ResourceTypeId.java @@ -98,7 +98,7 @@ public interface ResourceTypeId extends JsonEnum {

    TextLineItem on ShoppingList

    */ ResourceTypeId SHOPPING_LIST_TEXT_LINE_ITEM = ResourceTypeIdEnum.SHOPPING_LIST_TEXT_LINE_ITEM; /** -

    StandalonePrice)

    */ +

    StandalonePrice

    */ ResourceTypeId STANDALONE_PRICE = ResourceTypeIdEnum.STANDALONE_PRICE; /**

    Store

    */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImport.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImport.java index 0525fb12994..a908a4328a6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImport.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImport.java @@ -19,7 +19,7 @@ import jakarta.validation.constraints.NotNull; /** - *

    The data representation for a Type to be imported that is persisted as a Type in the Project.

    + *

    Represents the data used to import a Type. Once imported, this data is persisted as a Type in the Project.

    * *
    * Example to create an instance using the builder pattern @@ -38,7 +38,7 @@ public interface TypeImport extends ImportResource { /** - *

    User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the Type. If a Type with this key exists, it is updated with the imported data.

    * @return key */ @NotNull @@ -79,7 +79,7 @@ public interface TypeImport extends ImportResource { public List getFieldDefinitions(); /** - *

    User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the Type. If a Type with this key exists, it is updated with the imported data.

    * @param key value to be set */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportBuilder.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportBuilder.java index 82e29df0182..bc916d4c65b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportBuilder.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportBuilder.java @@ -39,7 +39,7 @@ public class TypeImportBuilder implements Builder { private java.util.List fieldDefinitions; /** - *

    User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the Type. If a Type with this key exists, it is updated with the imported data.

    * @param key value to be set * @return Builder */ @@ -252,7 +252,7 @@ public TypeImportBuilder setFieldDefinitions( } /** - *

    User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the Type. If a Type with this key exists, it is updated with the imported data.

    * @return key */ diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java index 41a9c257720..025ca176938 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/types/TypeImportImpl.java @@ -17,7 +17,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** - *

    The data representation for a Type to be imported that is persisted as a Type in the Project.

    + *

    Represents the data used to import a Type. Once imported, this data is persisted as a Type in the Project.

    */ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class TypeImportImpl implements TypeImport, ModelBase { @@ -55,7 +55,7 @@ public TypeImportImpl() { } /** - *

    User-defined unique identifier for the Type. If a Type with this key exists, it will be updated with the imported data.

    + *

    User-defined unique identifier for the Type. If a Type with this key exists, it is updated with the imported data.

    */ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyTest.java new file mode 100644 index 00000000000..a6a42fd3453 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersByImportContainerKeyTest.java @@ -0,0 +1,78 @@ + +package com.commercetools.importapi.client.resource; + +import java.nio.charset.StandardCharsets; +import java.util.concurrent.CompletableFuture; + +import com.commercetools.importapi.client.ApiRoot; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.ApiHttpRequest; +import io.vrap.rmf.base.client.VrapHttpClient; +import io.vrap.rmf.base.client.error.ApiClientException; +import io.vrap.rmf.base.client.error.ApiServerException; +import io.vrap.rmf.base.client.utils.Generated; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; +import org.mockito.Mockito; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersByImportContainerKeyTest { + private final VrapHttpClient httpClientMock = Mockito.mock(VrapHttpClient.class); + private final String projectKey = "test_projectKey"; + private final static ApiRoot apiRoot = ApiRoot.of(); + private final ApiHttpClient client = ClientBuilder.of(httpClientMock).defaultClient("").build(); + + @ParameterizedTest + @MethodSource("requestWithMethodParameters") + public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { + Assertions.assertThat(httpMethod).isEqualTo(request.getMethod().name().toLowerCase()); + Assertions.assertThat(uri).isEqualTo(request.getUri().toString()); + } + + @ParameterizedTest + @MethodSource("executeMethodParameters") + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { + Mockito.when(httpClientMock.execute(Mockito.any())) + .thenReturn(CompletableFuture.completedFuture( + new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); + + Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) + .hasCauseInstanceOf(ApiServerException.class); + } + + @ParameterizedTest + @MethodSource("executeMethodParameters") + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { + Mockito.when(httpClientMock.execute(Mockito.any())) + .thenReturn(CompletableFuture.completedFuture( + new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); + + Assertions.assertThatThrownBy(() -> client.execute(httpRequest).toCompletableFuture().get()) + .hasCauseInstanceOf(ApiClientException.class); + } + + public static Object[][] requestWithMethodParameters() { + return new Object[][] { + new Object[] { + apiRoot.withProjectKeyValue("test_projectKey") + .productSelections() + .importContainers() + .withImportContainerKeyValue("test_importContainerKey") + .post(com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest + .of()) + .createHttpRequest(), + "post", "test_projectKey/product-selections/import-containers/test_importContainerKey", } }; + } + + public static Object[][] executeMethodParameters() { + return new Object[][] { new Object[] { apiRoot.withProjectKeyValue("test_projectKey") + .productSelections() + .importContainers() + .withImportContainerKeyValue("test_importContainerKey") + .post(com.commercetools.importapi.models.importrequests.ProductSelectionImportRequest.of()), } }; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersTest.java new file mode 100644 index 00000000000..936b46b729d --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsImportContainersTest.java @@ -0,0 +1,27 @@ + +package com.commercetools.importapi.client.resource; + +import com.commercetools.importapi.client.ApiRoot; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.VrapHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +import org.mockito.Mockito; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsImportContainersTest { + private final VrapHttpClient httpClientMock = Mockito.mock(VrapHttpClient.class); + private final String projectKey = "test_projectKey"; + private final static ApiRoot apiRoot = ApiRoot.of(); + private final ApiHttpClient client = ClientBuilder.of(httpClientMock).defaultClient("").build(); + + public static Object[][] requestWithMethodParameters() { + return new Object[][] {}; + } + + public static Object[][] executeMethodParameters() { + return new Object[][] {}; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsTest.java new file mode 100644 index 00000000000..7d09af2c43e --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductSelectionsTest.java @@ -0,0 +1,27 @@ + +package com.commercetools.importapi.client.resource; + +import com.commercetools.importapi.client.ApiRoot; + +import io.vrap.rmf.base.client.*; +import io.vrap.rmf.base.client.ApiHttpClient; +import io.vrap.rmf.base.client.VrapHttpClient; +import io.vrap.rmf.base.client.utils.Generated; + +import org.mockito.Mockito; + +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class ByProjectKeyProductSelectionsTest { + private final VrapHttpClient httpClientMock = Mockito.mock(VrapHttpClient.class); + private final String projectKey = "test_projectKey"; + private final static ApiRoot apiRoot = ApiRoot.of(); + private final ApiHttpClient client = ClientBuilder.of(httpClientMock).defaultClient("").build(); + + public static Object[][] requestWithMethodParameters() { + return new Object[][] {}; + } + + public static Object[][] executeMethodParameters() { + return new Object[][] {}; + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceTest.java index eb538d16e67..9e1afe56cfb 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartDiscountKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class CartDiscountKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, CartDiscountKeyReferenceBuilder builder) { + CartDiscountKeyReference cartDiscountKeyReference = builder.buildUnchecked(); + Assertions.assertThat(cartDiscountKeyReference).isInstanceOf(CartDiscountKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", CartDiscountKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + CartDiscountKeyReference value = CartDiscountKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceTest.java index e4dceeb4848..1d6fe0656d7 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CartKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class CartKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, CartKeyReferenceBuilder builder) { + CartKeyReference cartKeyReference = builder.buildUnchecked(); + Assertions.assertThat(cartKeyReference).isInstanceOf(CartKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", CartKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + CartKeyReference value = CartKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceTest.java index c3ccb915c01..fa929dbb0c6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CategoryKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class CategoryKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, CategoryKeyReferenceBuilder builder) { + CategoryKeyReference categoryKeyReference = builder.buildUnchecked(); + Assertions.assertThat(categoryKeyReference).isInstanceOf(CategoryKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", CategoryKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + CategoryKeyReference value = CategoryKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceTest.java index bc0ae1500e4..8702d1b2f1e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ChannelKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ChannelKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ChannelKeyReferenceBuilder builder) { + ChannelKeyReference channelKeyReference = builder.buildUnchecked(); + Assertions.assertThat(channelKeyReference).isInstanceOf(ChannelKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ChannelKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ChannelKeyReference value = ChannelKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceTest.java index 4151227e1c9..80374de1f9a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomObjectKeyReferenceTest.java @@ -16,10 +16,17 @@ public void buildUnchecked(String name, CustomObjectKeyReferenceBuilder builder) } public static Object[][] objectBuilder() { - return new Object[][] { + return new Object[][] { new Object[] { "key", CustomObjectKeyReference.builder().key("key") }, new Object[] { "container", CustomObjectKeyReference.builder().container("container") } }; } + @Test + public void key() { + CustomObjectKeyReference value = CustomObjectKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } + @Test public void container() { CustomObjectKeyReference value = CustomObjectKeyReference.of(); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceTest.java index 60f075dab50..0373cf5b14f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerGroupKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class CustomerGroupKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, CustomerGroupKeyReferenceBuilder builder) { + CustomerGroupKeyReference customerGroupKeyReference = builder.buildUnchecked(); + Assertions.assertThat(customerGroupKeyReference).isInstanceOf(CustomerGroupKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", CustomerGroupKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + CustomerGroupKeyReference value = CustomerGroupKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceTest.java index 6047bbae6b3..3b256326783 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/CustomerKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class CustomerKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, CustomerKeyReferenceBuilder builder) { + CustomerKeyReference customerKeyReference = builder.buildUnchecked(); + Assertions.assertThat(customerKeyReference).isInstanceOf(CustomerKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", CustomerKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + CustomerKeyReference value = CustomerKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceTest.java index f724b362d82..ee7a0e85549 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/DiscountCodeKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class DiscountCodeKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, DiscountCodeKeyReferenceBuilder builder) { + DiscountCodeKeyReference discountCodeKeyReference = builder.buildUnchecked(); + Assertions.assertThat(discountCodeKeyReference).isInstanceOf(DiscountCodeKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", DiscountCodeKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + DiscountCodeKeyReference value = DiscountCodeKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceTest.java index ca45b725099..0dc39065731 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PaymentKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class PaymentKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, PaymentKeyReferenceBuilder builder) { + PaymentKeyReference paymentKeyReference = builder.buildUnchecked(); + Assertions.assertThat(paymentKeyReference).isInstanceOf(PaymentKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", PaymentKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + PaymentKeyReference value = PaymentKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceTest.java index 24e3f7461b5..356f0cc7c8a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/PriceKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class PriceKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, PriceKeyReferenceBuilder builder) { + PriceKeyReference priceKeyReference = builder.buildUnchecked(); + Assertions.assertThat(priceKeyReference).isInstanceOf(PriceKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", PriceKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + PriceKeyReference value = PriceKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceTest.java index c3ef5d6c6e8..5c4864b075d 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductDiscountKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ProductDiscountKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductDiscountKeyReferenceBuilder builder) { + ProductDiscountKeyReference productDiscountKeyReference = builder.buildUnchecked(); + Assertions.assertThat(productDiscountKeyReference).isInstanceOf(ProductDiscountKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ProductDiscountKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ProductDiscountKeyReference value = ProductDiscountKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceTest.java index 7db4d4e1a79..4a68c643b3e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ProductKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductKeyReferenceBuilder builder) { + ProductKeyReference productKeyReference = builder.buildUnchecked(); + Assertions.assertThat(productKeyReference).isInstanceOf(ProductKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ProductKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ProductKeyReference value = ProductKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceTest.java index 4819c67a97e..a3329a95344 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductTypeKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ProductTypeKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductTypeKeyReferenceBuilder builder) { + ProductTypeKeyReference productTypeKeyReference = builder.buildUnchecked(); + Assertions.assertThat(productTypeKeyReference).isInstanceOf(ProductTypeKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ProductTypeKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ProductTypeKeyReference value = ProductTypeKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceTest.java index f358969dbcf..f49d643fcfa 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ProductVariantKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ProductVariantKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductVariantKeyReferenceBuilder builder) { + ProductVariantKeyReference productVariantKeyReference = builder.buildUnchecked(); + Assertions.assertThat(productVariantKeyReference).isInstanceOf(ProductVariantKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ProductVariantKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ProductVariantKeyReference value = ProductVariantKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceTest.java index 7bc4f78a6f1..3e59b4b6e19 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/ShippingMethodKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class ShippingMethodKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ShippingMethodKeyReferenceBuilder builder) { + ShippingMethodKeyReference shippingMethodKeyReference = builder.buildUnchecked(); + Assertions.assertThat(shippingMethodKeyReference).isInstanceOf(ShippingMethodKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ShippingMethodKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + ShippingMethodKeyReference value = ShippingMethodKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceTest.java index 5b88d53432e..badd9b921db 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StateKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class StateKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, StateKeyReferenceBuilder builder) { + StateKeyReference stateKeyReference = builder.buildUnchecked(); + Assertions.assertThat(stateKeyReference).isInstanceOf(StateKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", StateKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + StateKeyReference value = StateKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceTest.java index 6e03c617382..bf26f5bc702 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/StoreKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class StoreKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, StoreKeyReferenceBuilder builder) { + StoreKeyReference storeKeyReference = builder.buildUnchecked(); + Assertions.assertThat(storeKeyReference).isInstanceOf(StoreKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", StoreKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + StoreKeyReference value = StoreKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceTest.java index 01680b2dd80..43567c27c82 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TaxCategoryKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class TaxCategoryKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, TaxCategoryKeyReferenceBuilder builder) { + TaxCategoryKeyReference taxCategoryKeyReference = builder.buildUnchecked(); + Assertions.assertThat(taxCategoryKeyReference).isInstanceOf(TaxCategoryKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", TaxCategoryKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + TaxCategoryKeyReference value = TaxCategoryKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceTest.java index d2df026b72c..770c02dcdd4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/common/TypeKeyReferenceTest.java @@ -1,6 +1,28 @@ package com.commercetools.importapi.models.common; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + public class TypeKeyReferenceTest { + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, TypeKeyReferenceBuilder builder) { + TypeKeyReference typeKeyReference = builder.buildUnchecked(); + Assertions.assertThat(typeKeyReference).isInstanceOf(TypeKeyReference.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", TypeKeyReference.builder().key("key") } }; + } + + @Test + public void key() { + TypeKeyReference value = TypeKeyReference.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldTest.java index 9517478649d..aa0cef7172f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/customfields/MoneySetFieldTest.java @@ -19,14 +19,14 @@ public void buildUnchecked(String name, MoneySetFieldBuilder builder) { public static Object[][] objectBuilder() { return new Object[][] { new Object[] { "value", MoneySetField.builder() - .value(Collections.singletonList(new com.commercetools.importapi.models.common.MoneyImpl())) } }; + .value(Collections.singletonList(new com.commercetools.importapi.models.common.TypedMoneyImpl())) } }; } @Test public void value() { MoneySetField value = MoneySetField.of(); - value.setValue(Collections.singletonList(new com.commercetools.importapi.models.common.MoneyImpl())); + value.setValue(Collections.singletonList(new com.commercetools.importapi.models.common.TypedMoneyImpl())); Assertions.assertThat(value.getValue()) - .isEqualTo(Collections.singletonList(new com.commercetools.importapi.models.common.MoneyImpl())); + .isEqualTo(Collections.singletonList(new com.commercetools.importapi.models.common.TypedMoneyImpl())); } } diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestTest.java new file mode 100644 index 00000000000..5e8ec2354e6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/importrequests/ProductSelectionImportRequestTest.java @@ -0,0 +1,35 @@ + +package com.commercetools.importapi.models.importrequests; + +import java.util.Collections; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class ProductSelectionImportRequestTest { + + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductSelectionImportRequestBuilder builder) { + ProductSelectionImportRequest productSelectionImportRequest = builder.buildUnchecked(); + Assertions.assertThat(productSelectionImportRequest).isInstanceOf(ProductSelectionImportRequest.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "resources", ProductSelectionImportRequest.builder() + .resources(Collections.singletonList( + new com.commercetools.importapi.models.product_selections.ProductSelectionImportImpl())) } }; + } + + @Test + public void resources() { + ProductSelectionImportRequest value = ProductSelectionImportRequest.of(); + value.setResources(Collections + .singletonList(new com.commercetools.importapi.models.product_selections.ProductSelectionImportImpl())); + Assertions.assertThat(value.getResources()) + .isEqualTo(Collections.singletonList( + new com.commercetools.importapi.models.product_selections.ProductSelectionImportImpl())); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentTest.java new file mode 100644 index 00000000000..c93f3f7a2a6 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionAssignmentTest.java @@ -0,0 +1,55 @@ + +package com.commercetools.importapi.models.product_selections; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class ProductSelectionAssignmentTest { + + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductSelectionAssignmentBuilder builder) { + ProductSelectionAssignment productSelectionAssignment = builder.buildUnchecked(); + Assertions.assertThat(productSelectionAssignment).isInstanceOf(ProductSelectionAssignment.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { + new Object[] { "product", + ProductSelectionAssignment.builder() + .product(new com.commercetools.importapi.models.common.ProductKeyReferenceImpl()) }, + new Object[] { "variantSelection", + ProductSelectionAssignment.builder() + .variantSelection( + new com.commercetools.importapi.models.product_selections.VariantSelectionImpl()) }, + new Object[] { "variantExclusion", ProductSelectionAssignment.builder() + .variantExclusion( + new com.commercetools.importapi.models.product_selections.VariantExclusionImpl()) } }; + } + + @Test + public void product() { + ProductSelectionAssignment value = ProductSelectionAssignment.of(); + value.setProduct(new com.commercetools.importapi.models.common.ProductKeyReferenceImpl()); + Assertions.assertThat(value.getProduct()) + .isEqualTo(new com.commercetools.importapi.models.common.ProductKeyReferenceImpl()); + } + + @Test + public void variantSelection() { + ProductSelectionAssignment value = ProductSelectionAssignment.of(); + value.setVariantSelection(new com.commercetools.importapi.models.product_selections.VariantSelectionImpl()); + Assertions.assertThat(value.getVariantSelection()) + .isEqualTo(new com.commercetools.importapi.models.product_selections.VariantSelectionImpl()); + } + + @Test + public void variantExclusion() { + ProductSelectionAssignment value = ProductSelectionAssignment.of(); + value.setVariantExclusion(new com.commercetools.importapi.models.product_selections.VariantExclusionImpl()); + Assertions.assertThat(value.getVariantExclusion()) + .isEqualTo(new com.commercetools.importapi.models.product_selections.VariantExclusionImpl()); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportTest.java new file mode 100644 index 00000000000..efc1c625d91 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/ProductSelectionImportTest.java @@ -0,0 +1,79 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.Collections; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class ProductSelectionImportTest { + + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, ProductSelectionImportBuilder builder) { + ProductSelectionImport productSelectionImport = builder.buildUnchecked(); + Assertions.assertThat(productSelectionImport).isInstanceOf(ProductSelectionImport.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { "key", ProductSelectionImport.builder().key("key") }, + new Object[] { "name", + ProductSelectionImport.builder() + .name(new com.commercetools.importapi.models.common.LocalizedStringImpl()) }, + new Object[] { "mode", + ProductSelectionImport.builder() + .mode(com.commercetools.importapi.models.product_selections.ProductSelectionMode + .findEnum("Individual")) }, + new Object[] { "custom", + ProductSelectionImport.builder() + .custom(new com.commercetools.importapi.models.customfields.CustomImpl()) }, + new Object[] { "assignments", ProductSelectionImport.builder() + .assignments(Collections.singletonList( + new com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentImpl())) } }; + } + + @Test + public void key() { + ProductSelectionImport value = ProductSelectionImport.of(); + value.setKey("key"); + Assertions.assertThat(value.getKey()).isEqualTo("key"); + } + + @Test + public void name() { + ProductSelectionImport value = ProductSelectionImport.of(); + value.setName(new com.commercetools.importapi.models.common.LocalizedStringImpl()); + Assertions.assertThat(value.getName()) + .isEqualTo(new com.commercetools.importapi.models.common.LocalizedStringImpl()); + } + + @Test + public void mode() { + ProductSelectionImport value = ProductSelectionImport.of(); + value.setMode( + com.commercetools.importapi.models.product_selections.ProductSelectionMode.findEnum("Individual")); + Assertions.assertThat(value.getMode()) + .isEqualTo( + com.commercetools.importapi.models.product_selections.ProductSelectionMode.findEnum("Individual")); + } + + @Test + public void custom() { + ProductSelectionImport value = ProductSelectionImport.of(); + value.setCustom(new com.commercetools.importapi.models.customfields.CustomImpl()); + Assertions.assertThat(value.getCustom()) + .isEqualTo(new com.commercetools.importapi.models.customfields.CustomImpl()); + } + + @Test + public void assignments() { + ProductSelectionImport value = ProductSelectionImport.of(); + value.setAssignments(Collections.singletonList( + new com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentImpl())); + Assertions.assertThat(value.getAssignments()) + .isEqualTo(Collections.singletonList( + new com.commercetools.importapi.models.product_selections.ProductSelectionAssignmentImpl())); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionTest.java new file mode 100644 index 00000000000..2f89e9523c1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantExclusionTest.java @@ -0,0 +1,31 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.Collections; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class VariantExclusionTest { + + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, VariantExclusionBuilder builder) { + VariantExclusion variantExclusion = builder.buildUnchecked(); + Assertions.assertThat(variantExclusion).isInstanceOf(VariantExclusion.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { + new Object[] { "skus", VariantExclusion.builder().skus(Collections.singletonList("skus")) } }; + } + + @Test + public void skus() { + VariantExclusion value = VariantExclusion.of(); + value.setSkus(Collections.singletonList("skus")); + Assertions.assertThat(value.getSkus()).isEqualTo(Collections.singletonList("skus")); + } +} diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionTest.java new file mode 100644 index 00000000000..1888fff98c1 --- /dev/null +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/models/product_selections/VariantSelectionTest.java @@ -0,0 +1,45 @@ + +package com.commercetools.importapi.models.product_selections; + +import java.util.Collections; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +public class VariantSelectionTest { + + @ParameterizedTest(name = "#{index} with {0}") + @MethodSource("objectBuilder") + public void buildUnchecked(String name, VariantSelectionBuilder builder) { + VariantSelection variantSelection = builder.buildUnchecked(); + Assertions.assertThat(variantSelection).isInstanceOf(VariantSelection.class); + } + + public static Object[][] objectBuilder() { + return new Object[][] { + new Object[] { "type", + VariantSelection.builder() + .type(com.commercetools.importapi.models.product_selections.VariantSelectionType + .findEnum("includeOnly")) }, + new Object[] { "skus", VariantSelection.builder().skus(Collections.singletonList("skus")) } }; + } + + @Test + public void type() { + VariantSelection value = VariantSelection.of(); + value.setType( + com.commercetools.importapi.models.product_selections.VariantSelectionType.findEnum("includeOnly")); + Assertions.assertThat(value.getType()) + .isEqualTo( + com.commercetools.importapi.models.product_selections.VariantSelectionType.findEnum("includeOnly")); + } + + @Test + public void skus() { + VariantSelection value = VariantSelection.of(); + value.setSkus(Collections.singletonList("skus")); + Assertions.assertThat(value.getSkus()).isEqualTo(Collections.singletonList("skus")); + } +} diff --git a/references.txt b/references.txt index aedfe84f817..8da4e3a25c7 100644 --- a/references.txt +++ b/references.txt @@ -432,3 +432,4 @@ bb49fa04d50e4e0267846c7d805ae8ebc254bdea 619fb89cb6ac5d2a1d5f1b7d2f51a51e13e7ace9 1a7da72f28929e745fe954c69569acda29a50ed5 6d4cd1e87a3eacff648e213aa9aff88292e9b75d +84839875c7243dce1c079f4b0a2b782c24c5810f From 30577d18d5bf9e74e14e1cde1921c44d616ba921 Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Tue, 8 Jul 2025 15:08:37 +0200 Subject: [PATCH 2/2] update import ProjectApiRoot --- .../com/commercetools/importapi/client/ProjectApiRoot.java | 5 +++++ .../commercetools/importapi/client/ProjectScopedApiRoot.java | 2 ++ 2 files changed, 7 insertions(+) diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java b/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java index 05af8d877b7..3368e2dcb39 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectApiRoot.java @@ -112,6 +112,11 @@ public ByProjectKeyDiscountCodesRequestBuilder discountCodes() { return with().discountCodes(); } + @Override + public ByProjectKeyProductSelectionsRequestBuilder productSelections() { + return with().productSelections(); + } + @Override public void close() { if (apiHttpClient == null) { diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectScopedApiRoot.java b/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectScopedApiRoot.java index 9835d3f8f4f..e51a365f42f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectScopedApiRoot.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java/com/commercetools/importapi/client/ProjectScopedApiRoot.java @@ -35,4 +35,6 @@ public interface ProjectScopedApiRoot { ByProjectKeyTypesRequestBuilder types(); ByProjectKeyDiscountCodesRequestBuilder discountCodes(); + + ByProjectKeyProductSelectionsRequestBuilder productSelections(); }