Checkstyle improvements Product + OfferProvis
This commit is contained in:
@@ -47,7 +47,7 @@ public class OfferProvisioner {
|
|||||||
offer.getSaleProduct().getProductId(),
|
offer.getSaleProduct().getProductId(),
|
||||||
"Amazon"));
|
"Amazon"));
|
||||||
|
|
||||||
} else if (offer.getSaleProduct().getDataOrigin().toLowerCase().equals("Amazon")) {
|
} else if (offer.getSaleProduct().getDataOrigin().toLowerCase().equals("amazon")) {
|
||||||
this.amazonSeller.sellProduct(new ProductDTO(
|
this.amazonSeller.sellProduct(new ProductDTO(
|
||||||
offer.getSaleProduct().getProductId(),
|
offer.getSaleProduct().getProductId(),
|
||||||
"eBay"));
|
"eBay"));
|
||||||
|
|||||||
@@ -10,11 +10,17 @@ import lombok.Data;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class Product {
|
public class Product {
|
||||||
/*
|
/**
|
||||||
* Constants for data source/destination platforms
|
* Constants for data source/destination platforms.
|
||||||
*/
|
*/
|
||||||
public enum webshop{
|
public enum Webshop {
|
||||||
AMAZON, EBAY
|
/**
|
||||||
|
* Amazon.
|
||||||
|
*/
|
||||||
|
AMAZON,
|
||||||
|
/**Ebay.
|
||||||
|
*/
|
||||||
|
EBAY
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user