Entity Name | Alias Name | Microservice | Data Schema |
Country | Country | CountryService | Shop |
CustomerDelivery | CustomerDelivery | ProductService | Shop |
CustomerOrder | CustomerOrder | CountryService | Shop |
Delivery | Delivery | CountryService | Shop |
DiscountCampaignProduct | DiscountCampaignProduct | DiscountCampaignService | Shop |
DiscountCampaignProductCategory | DiscountCampaignProductCategory | DiscountCampaignService | Shop |
Distributor | Distributor | ProductService | Shop |
OrderItem | OrderItem | ProductService | Shop |
Product | Product | ProductService | Shop |
ProductCategory | ProductCategory | ProductService | Shop |
ProductDelivery | ProductDelivery | ProductService | Shop |
ProductPrice | ProductPrice | ProductService | Shop |
PurchaseRule | PurchaseRule | ProductService | Shop |
SalesTax | SalesTax | ProductService | Shop |
Warehouse | Warehouse | CountryService | Shop |
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Entity Name: CustomerDelivery
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Delivery | LONG | CustomerDelivery | Delivery |
OrderItem | LONG | CustomerDelivery | OrderItem |
PrimaryKey | LONG | CustomerDelivery | |
ReferenceNumber | STRING | CustomerDelivery | |
ServerReplicationVersion | LONG | CustomerDelivery | |
ShopOwner | LONG | CustomerDelivery |
Pseudo code snippet
final CustomerDelivery customerdelivery = (CustomerDelivery) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/customerdelivery/" + id, CustomerDelivery.class);Entity Name: Distributor
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
DistributorName | STRING | Distributor | |
STRING | Distributor | ||
PhoneNo | STRING | Distributor | |
PrimaryKey | LONG | Distributor | |
ServerReplicationVersion | LONG | Distributor | |
ShopOwner | LONG | Distributor |
Pseudo code snippet
final Distributor distributor = (Distributor) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/distributor/" + id, Distributor.class);Entity Name: OrderItem
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Amount | DOUBLE | OrderItem | |
CustomerOrder | LONG | OrderItem | CustomerOrder |
PrimaryKey | LONG | OrderItem | |
Product | LONG | OrderItem | Product |
ServerReplicationVersion | LONG | OrderItem | |
ShopOwner | LONG | OrderItem |
Pseudo code snippet
final OrderItem orderitem = (OrderItem) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/orderitem/" + id, OrderItem.class);Entity Name: Product
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
ArticleNumber | STRING | Product | |
BarCode | STRING | Product | |
CountryOfOrigin | LONG | Product | Country |
HarmonizedCode | STRING | Product | |
MetaDescription | STRING | Product | |
NeedsShipment | BOOL | Product | |
PageTitle | STRING | Product | |
PageURL | STRING | Product | |
PrimaryKey | LONG | Product | |
ProductCategory | LONG | Product | ProductCategory |
ProductTitle | STRING | Product | |
SalesTax | LONG | Product | SalesTax |
ServerReplicationVersion | LONG | Product | |
ShopOwner | LONG | Product | |
ShopVisibility | BOOL | Product | |
StopSalesIfStockEmpty | BOOL | Product | |
Tags | STRING | Product | |
Weight | DOUBLE | Product |
Pseudo code snippet
final Product product = (Product) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/product/" + id, Product.class);Entity Name: ProductCategory
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
CategoryName | STRING | ProductCategory | |
Description | STRING | ProductCategory | |
PrimaryKey | LONG | ProductCategory | |
ServerReplicationVersion | LONG | ProductCategory | |
ShopOwner | LONG | ProductCategory |
Pseudo code snippet
final ProductCategory productcategory = (ProductCategory) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/productcategory/" + id, ProductCategory.class);Entity Name: ProductDelivery
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Amount | DOUBLE | ProductDelivery | |
DeliveryDate | LONG | ProductDelivery | |
Distributor | LONG | ProductDelivery | Distributor |
PrimaryKey | LONG | ProductDelivery | |
Product | LONG | ProductDelivery | Product |
Remarks | STRING | ProductDelivery | |
ServerReplicationVersion | LONG | ProductDelivery | |
ShopOwner | LONG | ProductDelivery | |
Warehouse | LONG | ProductDelivery | Warehouse |
Pseudo code snippet
final ProductDelivery productdelivery = (ProductDelivery) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/productdelivery/" + id, ProductDelivery.class);Entity Name: ProductPrice
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Country | LONG | ProductPrice | Country |
Price | DOUBLE | ProductPrice | |
PrimaryKey | LONG | ProductPrice | |
Product | LONG | ProductPrice | Product |
ServerReplicationVersion | LONG | ProductPrice | |
ShopOwner | LONG | ProductPrice | |
ValidFrom | LONG | ProductPrice |
Pseudo code snippet
final ProductPrice productprice = (ProductPrice) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/productprice/" + id, ProductPrice.class);Entity Name: PurchaseRule
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
CreationDate | LONG | PurchaseRule | |
NotificationEmail | STRING | PurchaseRule | |
PrimaryKey | LONG | PurchaseRule | |
Product | LONG | PurchaseRule | Product |
ServerReplicationVersion | LONG | PurchaseRule | |
ShopOwner | LONG | PurchaseRule | |
Threshold | INT | PurchaseRule | |
Warehouse | LONG | PurchaseRule | Warehouse |
Pseudo code snippet
final PurchaseRule purchaserule = (PurchaseRule) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/purchaserule/" + id, PurchaseRule.class);Entity Name: SalesTax
Data Schema: Shop
Master Service: ProductService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Category | INT | SalesTax | |
Country | LONG | SalesTax | Country |
PrimaryKey | LONG | SalesTax | |
ServerReplicationVersion | LONG | SalesTax | |
ShopOwner | LONG | SalesTax | |
TaxInPercent | DOUBLE | SalesTax | |
ValidFrom | LONG | SalesTax |
Pseudo code snippet
final SalesTax salestax = (SalesTax) this.callMicroservice(ServiceNames.PRODUCT_SERVICE + "/salestax/" + id, SalesTax.class);