Skip to content

Commit

Permalink
Create
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakh committed Jul 12, 2024
1 parent 8fdb815 commit 23715c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/handson/Task03b_IMPORT_API.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ public static void main(String[] args) throws IOException, ExecutionException, I
.toCompletableFuture().get()
);

// TODO
Money amount = MoneyBuilder.of()
.currencyCode("EUR")
.centAmount(123456789L)
.build();

logger.info("Created price resource {} ",
importService.createPriceImportRequest(containerKey,"chianti-wine-glass","CWG-01", "ChiantiWineGlass01Price01", amount)
importService.createPriceImportRequest(containerKey, "chianti-wine-glass", "CWG-01", "ChiantiWineGlass01Price01", amount)
.toCompletableFuture().get()
);

Expand Down

0 comments on commit 23715c5

Please sign in to comment.