Skip to content

Commit e0109fb

Browse files
committed
Merge remote-tracking branch 'origin/DEVX-640-helper-method-from-Coco-product-to-import-API-product' into DEVX-640-helper-method-from-Coco-product-to-import-API-product
2 parents 177562b + 773a41a commit e0109fb

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ cd4bb52247f964cdb924e28f32a6cd888d25ccea
3636
9f889d62530cbe6f83e65e307231ae05e0efe03d
3737
3fcbbbaa899976c15f805febd6864d70d260f830
3838
6f16c4a0cc66ed69ab5769595332d984c4abff9f
39+
8453de765b5576178f2e5d5ea6b6c1a5c6668027

commercetools/commercetools-importapi-utils/src/main/java/com/commercetools/sdk/InventoryUtil.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
package com.commercetools.sdk;
33

4-
54
import com.commercetools.api.models.channel.ChannelReference;
65
import com.commercetools.api.models.inventory.InventoryEntry;
76
import com.commercetools.importapi.models.common.ChannelKeyReference;

commercetools/commercetools-importapi-utils/src/main/java/com/commercetools/sdk/StandalonePriceUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public StandalonePriceImport toStandalonePriceImport(StandalonePrice price) {
3333
.sku(price.getSku()) // required field
3434
.value(v -> importApiTypedMoney(price.getValue(), v)) // required field
3535
.country(price.getCountry())
36-
.customerGroup((new CustomerUtil(keyResolverService)).toCustomerGroupKeyReference(price.getCustomerGroup()))
36+
.customerGroup(
37+
(new CustomerUtil(keyResolverService)).toCustomerGroupKeyReference(price.getCustomerGroup()))
3738
.channel(toImportApiChannelKeyReference(price.getChannel()))
3839
.validFrom(price.getValidFrom())
3940
.validUntil(price.getValidUntil())

0 commit comments

Comments
 (0)