Commit cd0ecc13 authored by Philippe Fonzin's avatar Philippe Fonzin

Item SKU is a String data type

parent 36c04e79
...@@ -15,9 +15,9 @@ public class Item { ...@@ -15,9 +15,9 @@ public class Item {
private String itemName; private String itemName;
private int itemQuantity; private int itemQuantity;
private double itemPrice; private double itemPrice;
private int itemSku; private String itemSku;
public Item(String itemId, String itemName, int itemQuantity, double itemPrice, int itemSku) { public Item(String itemId, String itemName, int itemQuantity, double itemPrice, String itemSku) {
this.itemId = itemId; this.itemId = itemId;
this.itemName = itemName; this.itemName = itemName;
this.itemQuantity = itemQuantity; this.itemQuantity = itemQuantity;
......
...@@ -39,7 +39,6 @@ public class WarehouseOrderService { ...@@ -39,7 +39,6 @@ public class WarehouseOrderService {
} }
public Mono<WarehouseOrderResponse> createOrder(WarehouseOrderRequest order) { public Mono<WarehouseOrderResponse> createOrder(WarehouseOrderRequest order) {
System.out.println("coming in from receiver " + order);
WarehouseOrderResponse response = new WarehouseOrderResponse(); WarehouseOrderResponse response = new WarehouseOrderResponse();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment