diff --git a/changes.md b/changes.md
index b9383613cac..71a6410f897 100644
--- a/changes.md
+++ b/changes.md
@@ -1,449 +1,9 @@
**Api changes**
-Added Method(s)
-
-- added method `$apiRoot->withProjectKey()->head()`
-- added method `$apiRoot->withProjectKey()->associateRoles()->head()`
-- added method `$apiRoot->withProjectKey()->businessUnits()->head()`
-- added method `$apiRoot->withProjectKey()->categories()->head()`
-- added method `$apiRoot->withProjectKey()->carts()->head()`
-- added method `$apiRoot->withProjectKey()->cartDiscounts()->head()`
-- added method `$apiRoot->withProjectKey()->channels()->head()`
-- added method `$apiRoot->withProjectKey()->customers()->head()`
-- added method `$apiRoot->withProjectKey()->customerGroups()->head()`
-- added method `$apiRoot->withProjectKey()->customObjects()->head()`
-- added method `$apiRoot->withProjectKey()->discountCodes()->head()`
-- added method `$apiRoot->withProjectKey()->inventory()->head()`
-- added method `$apiRoot->withProjectKey()->messages()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->head()`
-- added method `$apiRoot->withProjectKey()->payments()->head()`
-- added method `$apiRoot->withProjectKey()->productDiscounts()->head()`
-- added method `$apiRoot->withProjectKey()->productProjections()->head()`
-- added method `$apiRoot->withProjectKey()->productSelections()->head()`
-- added method `$apiRoot->withProjectKey()->quotes()->head()`
-- added method `$apiRoot->withProjectKey()->quoteRequests()->head()`
-- added method `$apiRoot->withProjectKey()->stagedQuotes()->head()`
-- added method `$apiRoot->withProjectKey()->reviews()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->head()`
-- added method `$apiRoot->withProjectKey()->shoppingLists()->head()`
-- added method `$apiRoot->withProjectKey()->states()->head()`
-- added method `$apiRoot->withProjectKey()->subscriptions()->head()`
-- added method `$apiRoot->withProjectKey()->taxCategories()->head()`
-- added method `$apiRoot->withProjectKey()->types()->head()`
-- added method `$apiRoot->withProjectKey()->zones()->head()`
-- added method `$apiRoot->withProjectKey()->extensions()->head()`
-- added method `$apiRoot->withProjectKey()->apiClients()->head()`
-- added method `$apiRoot->withProjectKey()->stores()->head()`
-- added method `$apiRoot->withProjectKey()->standalonePrices()->head()`
-- added method `$apiRoot->withProjectKey()->attributeGroups()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->businessUnits()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->businessUnits()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->businessUnits()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->get()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->post()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalFlows()->get()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->carts()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->orders()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quotes()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quoteRequests()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->withId()->get()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->withId()->post()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->withKey()->get()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalRules()->withKey()->post()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalFlows()->withId()->get()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->approvalFlows()->withId()->post()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->carts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->carts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->orders()->withOrderNumber()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->orders()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quotes()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quotes()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quoteRequests()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->quoteRequests()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->associateRoles()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->associateRoles()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->businessUnits()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->businessUnits()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->categories()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->categories()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->carts()->withCustomerId()->head()`
-- added method `$apiRoot->withProjectKey()->carts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->carts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->cartDiscounts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->cartDiscounts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->channels()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->customers()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->customers()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->customerGroups()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->customerGroups()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->discountCodes()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inventory()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inventory()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->messages()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->withOrderNumber()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->edits()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->edits()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->orders()->edits()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->payments()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->payments()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->productDiscounts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->productDiscounts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->productProjections()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->productProjections()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->productSelections()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->productSelections()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->quotes()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->quotes()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->quoteRequests()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->quoteRequests()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->stagedQuotes()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->stagedQuotes()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->reviews()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->reviews()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->matchingCart()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->matchingCartLocation()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->matchingOrderedit()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->matchingLocation()->head()`
-- added method `$apiRoot->withProjectKey()->shippingMethods()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->shoppingLists()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->shoppingLists()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->states()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->states()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->subscriptions()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->subscriptions()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->taxCategories()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->taxCategories()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->types()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->types()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->zones()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->zones()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->activeCart()->head()`
-- added method `$apiRoot->withProjectKey()->me()->businessUnits()->head()`
-- added method `$apiRoot->withProjectKey()->me()->carts()->head()`
-- added method `$apiRoot->withProjectKey()->me()->orders()->head()`
-- added method `$apiRoot->withProjectKey()->me()->payments()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quoteRequests()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quotes()->head()`
-- added method `$apiRoot->withProjectKey()->me()->shoppingLists()->head()`
-- added method `$apiRoot->withProjectKey()->me()->businessUnits()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->businessUnits()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->me()->carts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->me()->carts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->orders()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->payments()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quoteRequests()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quoteRequests()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quotes()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->quotes()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->me()->shoppingLists()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->me()->shoppingLists()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->extensions()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->extensions()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->apiClients()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->stores()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->stores()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->carts()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->orders()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->customers()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->shoppingLists()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->cartDiscounts()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->carts()->withCustomerId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->carts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->carts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->orders()->withOrderNumber()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->orders()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->carts()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->orders()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->activeCart()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->shoppingLists()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->carts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->orders()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->shoppingLists()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->me()->shoppingLists()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->customers()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->customers()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->shippingMethods()->matchingCart()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->shoppingLists()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->shoppingLists()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->productProjections()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->productProjections()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->cartDiscounts()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->cartDiscounts()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->standalonePrices()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->standalonePrices()->withId()->head()`
-- added method `$apiRoot->withProjectKey()->attributeGroups()->withKey()->head()`
-- added method `$apiRoot->withProjectKey()->attributeGroups()->withId()->head()`
-Removed Type(s)
-
-- :warning: removed type `NotEnabledError`
-- :warning: removed type `GraphQLNotEnabledError`
-- :warning: removed type `CustomerMessagePayload`
-Added Type(s)
-
-- added type `ApprovalFlow`
-- added type `ApprovalFlowApproval`
-- added type `ApprovalFlowApproveAction`
-- added type `ApprovalFlowPagedQueryResponse`
-- added type `ApprovalFlowRejectAction`
-- added type `ApprovalFlowRejection`
-- added type `ApprovalFlowSetCustomFieldAction`
-- added type `ApprovalFlowSetCustomTypeAction`
-- added type `ApprovalFlowStatus`
-- added type `ApprovalFlowUpdate`
-- added type `ApprovalFlowUpdateAction`
-- added type `ApprovalRule`
-- added type `ApprovalRuleDraft`
-- added type `ApprovalRulePagedQueryResponse`
-- added type `ApprovalRuleSetApproversAction`
-- added type `ApprovalRuleSetDescriptionAction`
-- added type `ApprovalRuleSetKeyAction`
-- added type `ApprovalRuleSetNameAction`
-- added type `ApprovalRuleSetPredicateAction`
-- added type `ApprovalRuleSetRequestersAction`
-- added type `ApprovalRuleSetStatusAction`
-- added type `ApprovalRuleStatus`
-- added type `ApprovalRuleUpdate`
-- added type `ApprovalRuleUpdateAction`
-- added type `ApproverConjunction`
-- added type `ApproverConjunctionDraft`
-- added type `ApproverDisjunction`
-- added type `ApproverDisjunctionDraft`
-- added type `ApproverHierarchy`
-- added type `ApproverHierarchyDraft`
-- added type `RuleApprover`
-- added type `RuleApproverDraft`
-- added type `RuleRequester`
-- added type `RuleRequesterDraft`
-- added type `CartDiscountTotalPriceTarget`
-- added type `DiscountOnTotalPrice`
-- added type `DiscountedTotalPricePortion`
-- added type `CustomerEmailTokenReference`
-- added type `CustomerPasswordTokenReference`
-- added type `ApprovalFlowApprovedMessage`
-- added type `ApprovalFlowCompletedMessage`
-- added type `ApprovalFlowCreatedMessage`
-- added type `ApprovalFlowRejectedMessage`
-- added type `ApprovalRuleApproversSetMessage`
-- added type `ApprovalRuleCreatedMessage`
-- added type `ApprovalRuleDescriptionSetMessage`
-- added type `ApprovalRuleKeySetMessage`
-- added type `ApprovalRuleNameSetMessage`
-- added type `ApprovalRulePredicateSetMessage`
-- added type `ApprovalRuleRequestersSetMessage`
-- added type `ApprovalRuleStatusSetMessage`
-- added type `BusinessUnitAddressCustomFieldAddedMessage`
-- added type `BusinessUnitAddressCustomFieldChangedMessage`
-- added type `BusinessUnitAddressCustomFieldRemovedMessage`
-- added type `BusinessUnitAddressCustomTypeRemovedMessage`
-- added type `BusinessUnitAddressCustomTypeSetMessage`
-- added type `BusinessUnitCustomFieldAddedMessage`
-- added type `BusinessUnitCustomFieldChangedMessage`
-- added type `BusinessUnitCustomFieldRemovedMessage`
-- added type `BusinessUnitCustomTypeRemovedMessage`
-- added type `BusinessUnitCustomTypeSetMessage`
-- added type `CartDiscountCreatedMessage`
-- added type `CartDiscountDeletedMessage`
-- added type `CartDiscountStoreAddedMessage`
-- added type `CartDiscountStoreRemovedMessage`
-- added type `CartDiscountStoresSetMessage`
-- added type `CustomerEmailTokenCreatedMessage`
-- added type `CustomerGroupCustomFieldAddedMessage`
-- added type `CustomerGroupCustomFieldChangedMessage`
-- added type `CustomerGroupCustomFieldRemovedMessage`
-- added type `CustomerGroupCustomTypeRemovedMessage`
-- added type `CustomerGroupCustomTypeSetMessage`
-- added type `CustomerPasswordTokenCreatedMessage`
-- added type `ApprovalFlowApprovedMessagePayload`
-- added type `ApprovalFlowCompletedMessagePayload`
-- added type `ApprovalFlowCreatedMessagePayload`
-- added type `ApprovalFlowRejectedMessagePayload`
-- added type `ApprovalRuleApproversSetMessagePayload`
-- added type `ApprovalRuleCreatedMessagePayload`
-- added type `ApprovalRuleDescriptionSetMessagePayload`
-- added type `ApprovalRuleKeySetMessagePayload`
-- added type `ApprovalRuleNameSetMessagePayload`
-- added type `ApprovalRulePredicateSetMessagePayload`
-- added type `ApprovalRuleRequestersSetMessagePayload`
-- added type `ApprovalRuleStatusSetMessagePayload`
-- added type `BusinessUnitAddressCustomFieldAddedMessagePayload`
-- added type `BusinessUnitAddressCustomFieldChangedMessagePayload`
-- added type `BusinessUnitAddressCustomFieldRemovedMessagePayload`
-- added type `BusinessUnitAddressCustomTypeRemovedMessagePayload`
-- added type `BusinessUnitAddressCustomTypeSetMessagePayload`
-- added type `BusinessUnitCustomFieldAddedMessagePayload`
-- added type `BusinessUnitCustomFieldChangedMessagePayload`
-- added type `BusinessUnitCustomFieldRemovedMessagePayload`
-- added type `BusinessUnitCustomTypeRemovedMessagePayload`
-- added type `BusinessUnitCustomTypeSetMessagePayload`
-- added type `CartDiscountCreatedMessagePayload`
-- added type `CartDiscountDeletedMessagePayload`
-- added type `CartDiscountStoreAddedMessagePayload`
-- added type `CartDiscountStoreRemovedMessagePayload`
-- added type `CartDiscountStoresSetMessagePayload`
-- added type `CustomerEmailTokenCreatedMessagePayload`
-- added type `CustomerGroupCustomFieldAddedMessagePayload`
-- added type `CustomerGroupCustomFieldChangedMessagePayload`
-- added type `CustomerGroupCustomFieldRemovedMessagePayload`
-- added type `CustomerGroupCustomTypeRemovedMessagePayload`
-- added type `CustomerGroupCustomTypeSetMessagePayload`
-- added type `CustomerPasswordTokenCreatedMessagePayload`
-Changed MethodResponseBody(s)
-
-- :warning: changed response body for `200: application/json` of method `get /{projectKey}/in-store/key={storeKey}/cart-discounts` from type `CartDiscount` to `CartDiscountPagedQueryResponse`
-Added Enum(s)
-
-- added enum `CreateApprovalRules` to type `Permission`
-- added enum `UpdateApprovalRules` to type `Permission`
-- added enum `UpdateApprovalFlows` to type `Permission`
-- added enum `approval-flow` to type `ReferenceTypeId`
-- added enum `approval-rule` to type `ReferenceTypeId`
-- added enum `customer-email-token` to type `ReferenceTypeId`
-- added enum `customer-password-token` to type `ReferenceTypeId`
-- added enum `associate-role` to type `AttributeReferenceTypeId`
-- added enum `business-unit` to type `AttributeReferenceTypeId`
-- added enum `cart-discount` to type `AttributeReferenceTypeId`
-- added enum `approval-flow` to type `ChangeSubscriptionResourceTypeId`
-- added enum `approval-rule` to type `ChangeSubscriptionResourceTypeId`
-- added enum `approval-flow` to type `MessageSubscriptionResourceTypeId`
-- added enum `approval-rule` to type `MessageSubscriptionResourceTypeId`
-- added enum `customer-email-token` to type `MessageSubscriptionResourceTypeId`
-- added enum `customer-group` to type `MessageSubscriptionResourceTypeId`
-- added enum `customer-password-token` to type `MessageSubscriptionResourceTypeId`
-- added enum `approval-flow` to type `CustomFieldReferenceValue`
-- added enum `approval-flow` to type `ResourceTypeId`
-Added QueryParameter(s)
-
-- added query parameter `expand` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `sort` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `limit` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `offset` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `withTotal` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `where` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `/^var[.][a-zA-Z0-9]+$/` to method `get /{projectKey}/in-store/key={storeKey}/cart-discounts`
-- added query parameter `expand` to method `post /{projectKey}/in-store/key={storeKey}/cart-discounts`
-Added Property(s)
-
-- added property `discountOnTotalPrice` to type `Cart`
-- added property `discountOnTotalPrice` to type `StagedOrder`
-- added property `custom` to type `StagedOrderAddParcelToDeliveryAction`
-- added property `discountOnTotalPrice` to type `Order`
-- added property `custom` to type `OrderAddParcelToDeliveryAction`
-Added Resource(s)
-
-- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules`
-- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows`
-- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}`
-- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}`
-- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}`
-Added Property(s)
-
-- added property `product` to type `ProductVariantPatch`
-Removed Type(s)
-
-- :warning: removed type `ChannelRole`
-- :warning: removed type `StateRole`
-- :warning: removed type `StateType`
-Added Type(s)
-
-- added type `AttributeLocalizedEnumValue`
-- added type `AttributePlainEnumValue`
-- added type `ChannelRoleEnum`
-- added type `StateRoleEnum`
-- added type `StateTypeEnum`
-Removed Property(s)
-
-- :warning: removed property `previousValue` from type `AddAddressChange`
-- :warning: removed property `previousValue` from type `AddLocationChange`
-- :warning: removed property `nextValue` from type `RemoveLocationChange`
-- :warning: removed property `nextValue` from type `RemoveTaxRateChange`
-Changed Property(s)
-
-- :warning: changed property `previousValue` of type `AddChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `nextValue` of type `AddChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `nextValue` of type `AddLocalizedEnumValueChange` from type `LocalizedEnumValue` to `AttributeLocalizedEnumValue`
-- :warning: changed property `nextValue` of type `AddPlainEnumValueChange` from type `EnumValue` to `AttributePlainEnumValue`
-- :warning: changed property `previousValue` of type `AddStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-- :warning: changed property `nextValue` of type `AddStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-- :warning: changed property `previousValue` of type `ChangeStateTypeChange` from type `StateType` to `StateTypeEnum`
-- :warning: changed property `nextValue` of type `ChangeStateTypeChange` from type `StateType` to `StateTypeEnum`
-- :warning: changed property `previousValue` of type `RemoveChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `nextValue` of type `RemoveChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `previousValue` of type `RemoveStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-- :warning: changed property `nextValue` of type `RemoveStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-- :warning: changed property `previousValue` of type `SetChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `nextValue` of type `SetChannelRolesChange` from type `ChannelRole[]` to `ChannelRoleEnum[]`
-- :warning: changed property `previousValue` of type `SetNameChange` from type `LocalizedString` to `string`
-- :warning: changed property `nextValue` of type `SetNameChange` from type `LocalizedString` to `string`
-- :warning: changed property `previousValue` of type `SetStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-- :warning: changed property `nextValue` of type `SetStateRolesChange` from type `StateRole[]` to `StateRoleEnum[]`
-Added Property(s)
-- added property `businessUnit` to type `Record`
-Added QueryParameter(s)
-
-- added query parameter `businessUnit` to method `get /{projectKey}`
-- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}`
-- added query parameter `businessUnit` to method `get /{projectKey}/{resourceType}/{ID}`
+- added property `perMethodExternalTaxRate` to type `CartAddLineItemAction`
+- added property `shippingMode` to type `MyCartDraft`
Sets the external Tax Rates for individual Shipping Methods, if the Cart has the External
TaxMode and Multiple
ShippingMode.
Inventory mode specific to the Line Item only, and valid for the entire quantity
of the Line Item.
* Set only if the inventory mode should be different from the inventoryMode
specified on the Cart.
Sets the external Tax Rates for individual Shipping Methods, if the Cart has the External
TaxMode and Multiple
ShippingMode.
Inventory mode specific to the Line Item only, and valid for the entire quantity
of the Line Item.
* Set only if the inventory mode should be different from the inventoryMode
specified on the Cart.
Sets the external Tax Rates for individual Shipping Methods, if the Cart has the External
TaxMode and Multiple
ShippingMode.
Inventory mode specific to the Line Item only, and valid for the entire quantity
of the Line Item.
* Set only if the inventory mode should be different from the inventoryMode
specified on the Cart.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
+ * Must be one of the itemShippingAddresses
when that field is also provided.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
+ * Must be one of the itemShippingAddresses
when that field is also provided.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
Shipping address for a Cart with Single
ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items.
+ * Must be one of the itemShippingAddresses
when that field is also provided.
Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of the Custom Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of the Custom Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of the Custom Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ *It connects Line Item or Custom Line Item quantities with individual Shipping Methods.
* * @return null|string diff --git a/lib/commercetools-api/src/Models/Cart/ItemShippingTargetBuilder.php b/lib/commercetools-api/src/Models/Cart/ItemShippingTargetBuilder.php index f74d26d8b2b..d16c84c617e 100644 --- a/lib/commercetools-api/src/Models/Cart/ItemShippingTargetBuilder.php +++ b/lib/commercetools-api/src/Models/Cart/ItemShippingTargetBuilder.php @@ -64,7 +64,7 @@ public function getQuantity() /** *User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ *It connects Line Item or Custom Line Item quantities with individual Shipping Methods.
* * @return null|string diff --git a/lib/commercetools-api/src/Models/Cart/ItemShippingTargetModel.php b/lib/commercetools-api/src/Models/Cart/ItemShippingTargetModel.php index 9579c244ab4..b8b701fc213 100644 --- a/lib/commercetools-api/src/Models/Cart/ItemShippingTargetModel.php +++ b/lib/commercetools-api/src/Models/Cart/ItemShippingTargetModel.php @@ -95,7 +95,7 @@ public function getQuantity() /** *User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
It connects Line Item quantities with individual shipping addresses.
+ *It connects Line Item or Custom Line Item quantities with individual Shipping Methods.
* * * @return null|string diff --git a/lib/commercetools-api/src/Models/Cart/LineItem.php b/lib/commercetools-api/src/Models/Cart/LineItem.php index 1f67a29789e..0fc5f1ee727 100644 --- a/lib/commercetools-api/src/Models/Cart/LineItem.php +++ b/lib/commercetools-api/src/Models/Cart/LineItem.php @@ -165,7 +165,8 @@ public function getDiscountedPricePerQuantity(); public function getTaxedPrice(); /** - *Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Method that is automatically set after perMethodTaxRate
is set.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
Taxed price for the Shipping Method.
+ *Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by shippingMethodKey
.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
Taxed price for the Shipping Method.
+ *Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by shippingMethodKey
.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
User-defined unique identifier of the Shipping Method in a Cart with Multiple
ShippingMode.
Taxed price for the Shipping Method.
+ *Total taxed price based on the quantity of the Line Item or Custom Line Item assigned to the Shipping Method identified by shippingMethodKey
.
Single
, only a single Shipping Method can be added to the Cart.Multiple
, multiple Shipping Methods can be added to the Cart.code
of the existing DiscountCodes to add to the Cart.
Single
, only a single Shipping Method can be added to the Cart.Multiple
, multiple Shipping Methods can be added to the Cart.code
of the existing DiscountCodes to add to the Cart.
Single
, only a single Shipping Method can be added to the Cart.Multiple
, multiple Shipping Methods can be added to the Cart.code
of the existing DiscountCodes to add to the Cart.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Taxed price of the Shipping Methods in a Cart with Multiple
ShippingMode.
Total taxed prices based on the quantity of Line Item assigned to each Shipping Method. Only applicable for Carts with Multiple
ShippingMode.
+ * Automatically set after perMethodTaxRate
is set.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Using Tiered Shipping Rates for details and examples.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Tiered shipping rates for details and examples.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Using Tiered Shipping Rates for details and examples.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Tiered shipping rates for details and examples.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Using Tiered Shipping Rates for details and examples.
Abstract value for categorizing a Cart. The range starts at 0
. The default price covers 0
, tiers start at 1
. See Tiered shipping rates for details and examples.
Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * @return null|TypedMoney diff --git a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateBuilder.php b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateBuilder.php index ac70baf1e39..37a1643fd19 100644 --- a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateBuilder.php +++ b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateBuilder.php @@ -58,7 +58,7 @@ public function getPrice() } /** - *Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * @return null|TypedMoney diff --git a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraft.php b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraft.php index a3211aa75b6..3ac687367df 100644 --- a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraft.php +++ b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraft.php @@ -27,7 +27,7 @@ interface ShippingRateDraft extends JsonObject public function getPrice(); /** - *Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftBuilder.php b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftBuilder.php index f02b6b5b1cc..0aaffeec56d 100644 --- a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftBuilder.php +++ b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftBuilder.php @@ -52,7 +52,7 @@ public function getPrice() } /** - *Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * @return null|Money diff --git a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftModel.php b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftModel.php index 66a685ac594..65830e57949 100644 --- a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftModel.php +++ b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateDraftModel.php @@ -75,7 +75,7 @@ public function getPrice() } /** - *Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * * @return null|Money diff --git a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateModel.php b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateModel.php index 2b60b123f90..227061122e2 100644 --- a/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateModel.php +++ b/lib/commercetools-api/src/Models/ShippingMethod/ShippingRateModel.php @@ -83,7 +83,7 @@ public function getPrice() } /** - *Shipping is free if the sum of the (Custom) Line Item Prices reaches the specified value.
+ *Free shipping is applied if the sum of the (Custom) Line Item Prices reaches the specified value.
* * * @return null|TypedMoney diff --git a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraft.php b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraft.php index cb0d517545f..b5f079e2eed 100644 --- a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraft.php +++ b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraft.php @@ -21,7 +21,7 @@ interface ReturnItemDraft extends JsonObject /** - * @return null|float + * @return null|int */ public function getQuantity(); @@ -52,9 +52,9 @@ public function getComment(); public function getShipmentState(); /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void; + public function setQuantity(?int $quantity): void; /** * @param ?string $lineItemId diff --git a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftBuilder.php b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftBuilder.php index ca8af276573..06b49f538b1 100644 --- a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftBuilder.php +++ b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftBuilder.php @@ -22,7 +22,7 @@ final class ReturnItemDraftBuilder implements Builder { /** - * @var ?float + * @var ?int */ private $quantity; @@ -52,7 +52,7 @@ final class ReturnItemDraftBuilder implements Builder /** - * @return null|float + * @return null|int */ public function getQuantity() { @@ -98,10 +98,10 @@ public function getShipmentState() } /** - * @param ?float $quantity + * @param ?int $quantity * @return $this */ - public function withQuantity(?float $quantity) + public function withQuantity(?int $quantity) { $this->quantity = $quantity; diff --git a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftModel.php b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftModel.php index 660c5048dd4..89dc6a7490f 100644 --- a/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftModel.php +++ b/lib/commercetools-import/src/Models/OrderPatches/ReturnItemDraftModel.php @@ -21,7 +21,7 @@ final class ReturnItemDraftModel extends JsonObjectModel implements ReturnItemDr { /** * - * @var ?float + * @var ?int */ protected $quantity; @@ -54,7 +54,7 @@ final class ReturnItemDraftModel extends JsonObjectModel implements ReturnItemDr * @psalm-suppress MissingParamType */ public function __construct( - ?float $quantity = null, + ?int $quantity = null, ?string $lineItemId = null, ?string $customLineItemId = null, ?string $comment = null, @@ -69,17 +69,17 @@ public function __construct( /** * - * @return null|float + * @return null|int */ public function getQuantity() { if (is_null($this->quantity)) { - /** @psalm-var ?float $data */ + /** @psalm-var ?int $data */ $data = $this->raw(self::FIELD_QUANTITY); if (is_null($data)) { return null; } - $this->quantity = (float) $data; + $this->quantity = (int) $data; } return $this->quantity; @@ -161,9 +161,9 @@ public function getShipmentState() /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void + public function setQuantity(?int $quantity): void { $this->quantity = $quantity; } diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraft.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraft.php index f787948dfbb..d86db31d1c6 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraft.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraft.php @@ -69,7 +69,7 @@ public function getSlug(); /** - * @return null|float + * @return null|int */ public function getQuantity(); @@ -137,9 +137,9 @@ public function setTotalPrice(?TypedMoney $totalPrice): void; public function setSlug(?string $slug): void; /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void; + public function setQuantity(?int $quantity): void; /** * @param ?ItemStateCollection $state diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php index c4d1a504db0..cd1c48560a0 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftBuilder.php @@ -60,7 +60,7 @@ final class CustomLineItemDraftBuilder implements Builder /** - * @var ?float + * @var ?int */ private $quantity; @@ -154,7 +154,7 @@ public function getSlug() /** - * @return null|float + * @return null|int */ public function getQuantity() { @@ -273,10 +273,10 @@ public function withSlug(?string $slug) } /** - * @param ?float $quantity + * @param ?int $quantity * @return $this */ - public function withQuantity(?float $quantity) + public function withQuantity(?int $quantity) { $this->quantity = $quantity; diff --git a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php index 5ccd8712c1d..28b68c5723e 100644 --- a/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php +++ b/lib/commercetools-import/src/Models/Orders/CustomLineItemDraftModel.php @@ -59,7 +59,7 @@ final class CustomLineItemDraftModel extends JsonObjectModel implements CustomLi /** * - * @var ?float + * @var ?int */ protected $quantity; @@ -109,7 +109,7 @@ public function __construct( ?CustomLineItemTaxedPrice $taxedPrice = null, ?TypedMoney $totalPrice = null, ?string $slug = null, - ?float $quantity = null, + ?int $quantity = null, ?ItemStateCollection $state = null, ?TaxCategoryKeyReference $taxCategory = null, ?TaxRate $taxRate = null, @@ -234,17 +234,17 @@ public function getSlug() /** * - * @return null|float + * @return null|int */ public function getQuantity() { if (is_null($this->quantity)) { - /** @psalm-var ?float $data */ + /** @psalm-var ?int $data */ $data = $this->raw(self::FIELD_QUANTITY); if (is_null($data)) { return null; } - $this->quantity = (float) $data; + $this->quantity = (int) $data; } return $this->quantity; @@ -406,9 +406,9 @@ public function setSlug(?string $slug): void } /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void + public function setQuantity(?int $quantity): void { $this->quantity = $quantity; } diff --git a/lib/commercetools-import/src/Models/Orders/DeliveryItem.php b/lib/commercetools-import/src/Models/Orders/DeliveryItem.php index 1211e3debe4..3341f9eaea8 100644 --- a/lib/commercetools-import/src/Models/Orders/DeliveryItem.php +++ b/lib/commercetools-import/src/Models/Orders/DeliveryItem.php @@ -24,7 +24,7 @@ public function getId(); /** - * @return null|float + * @return null|int */ public function getQuantity(); @@ -34,7 +34,7 @@ public function getQuantity(); public function setId(?string $id): void; /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void; + public function setQuantity(?int $quantity): void; } diff --git a/lib/commercetools-import/src/Models/Orders/DeliveryItemBuilder.php b/lib/commercetools-import/src/Models/Orders/DeliveryItemBuilder.php index 52795b91d53..9ac5246166c 100644 --- a/lib/commercetools-import/src/Models/Orders/DeliveryItemBuilder.php +++ b/lib/commercetools-import/src/Models/Orders/DeliveryItemBuilder.php @@ -28,7 +28,7 @@ final class DeliveryItemBuilder implements Builder /** - * @var ?float + * @var ?int */ private $quantity; @@ -43,7 +43,7 @@ public function getId() /** - * @return null|float + * @return null|int */ public function getQuantity() { @@ -62,10 +62,10 @@ public function withId(?string $id) } /** - * @param ?float $quantity + * @param ?int $quantity * @return $this */ - public function withQuantity(?float $quantity) + public function withQuantity(?int $quantity) { $this->quantity = $quantity; diff --git a/lib/commercetools-import/src/Models/Orders/DeliveryItemModel.php b/lib/commercetools-import/src/Models/Orders/DeliveryItemModel.php index cc2ce127289..dc15e6f52cc 100644 --- a/lib/commercetools-import/src/Models/Orders/DeliveryItemModel.php +++ b/lib/commercetools-import/src/Models/Orders/DeliveryItemModel.php @@ -27,7 +27,7 @@ final class DeliveryItemModel extends JsonObjectModel implements DeliveryItem /** * - * @var ?float + * @var ?int */ protected $quantity; @@ -37,7 +37,7 @@ final class DeliveryItemModel extends JsonObjectModel implements DeliveryItem */ public function __construct( ?string $id = null, - ?float $quantity = null + ?int $quantity = null ) { $this->id = $id; $this->quantity = $quantity; @@ -63,17 +63,17 @@ public function getId() /** * - * @return null|float + * @return null|int */ public function getQuantity() { if (is_null($this->quantity)) { - /** @psalm-var ?float $data */ + /** @psalm-var ?int $data */ $data = $this->raw(self::FIELD_QUANTITY); if (is_null($data)) { return null; } - $this->quantity = (float) $data; + $this->quantity = (int) $data; } return $this->quantity; @@ -89,9 +89,9 @@ public function setId(?string $id): void } /** - * @param ?float $quantity + * @param ?int $quantity */ - public function setQuantity(?float $quantity): void + public function setQuantity(?int $quantity): void { $this->quantity = $quantity; } diff --git a/lib/commercetools-import/src/Models/Orders/ItemShippingTarget.php b/lib/commercetools-import/src/Models/Orders/ItemShippingTarget.php index 6fe4df5467b..5529ed3399d 100644 --- a/lib/commercetools-import/src/Models/Orders/ItemShippingTarget.php +++ b/lib/commercetools-import/src/Models/Orders/ItemShippingTarget.php @@ -28,7 +28,7 @@ public function getAddressKey(); *Maps to ItemShippingTarget.quantity
.
Maps to ItemShippingTarget.quantity
.
Maps to ItemShippingTarget.quantity
.
Maps to LineItem.quantity
.
Maps to LineItem.quantity
.
Maps to LineItem.quantity
.