Entity Name | Alias Name | Microservice | Data Schema |
CustomerGroup | CustomerGroup | CountryService | Shop |
DiscountCampaign | DiscountCampaign | DiscountCampaignService | Shop |
DiscountCampaignCustomer | DiscountCampaignCustomer | CountryService | Shop |
DiscountCampaignCustomerGroup | DiscountCampaignCustomerGroup | DiscountCampaignService | Shop |
DiscountCampaignProduct | DiscountCampaignProduct | DiscountCampaignService | Shop |
DiscountCampaignProductCategory | DiscountCampaignProductCategory | DiscountCampaignService | Shop |
DiscountType | DiscountType | DiscountCampaignService | Shop |
Product | Product | ProductService | Shop |
ProductCategory | ProductCategory | ProductService | Shop |
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Entity Name: DiscountCampaign
Data Schema: Shop
Master Service: DiscountCampaignService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
DiscountCode | STRING | DiscountCampaign | |
DiscountType | LONG | DiscountCampaign | DiscountType |
FromDate | LONG | DiscountCampaign | |
MaxUsedDiscounts | INT | DiscountCampaign | |
MinimumPurchaseAmount | DOUBLE | DiscountCampaign | |
MinimumQuantity | INT | DiscountCampaign | |
PrimaryKey | LONG | DiscountCampaign | |
ServerReplicationVersion | LONG | DiscountCampaign | |
ShopOwner | LONG | DiscountCampaign | |
ToDate | LONG | DiscountCampaign | |
WholeOrder | BOOL | DiscountCampaign |
Pseudo code snippet
final DiscountCampaign discountcampaign = (DiscountCampaign) this.callMicroservice(ServiceNames.DISCOUNT_CAMPAIGN_SERVICE + "/discountcampaign/" + id, DiscountCampaign.class);Entity Name: DiscountCampaignCustomerGroup
Data Schema: Shop
Master Service: DiscountCampaignService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
CustomerGroup | LONG | DiscountCampaignCustomerGroup | CustomerGroup |
DiscountCampaign | LONG | DiscountCampaignCustomerGroup | DiscountCampaign |
PrimaryKey | LONG | DiscountCampaignCustomerGroup | |
ServerReplicationVersion | LONG | DiscountCampaignCustomerGroup | |
ShopOwner | LONG | DiscountCampaignCustomerGroup |
Pseudo code snippet
final DiscountCampaignCustomerGroup discountcampaigncustomergroup = (DiscountCampaignCustomerGroup) this.callMicroservice(ServiceNames.DISCOUNT_CAMPAIGN_SERVICE + "/discountcampaigncustomergroup/" + id, DiscountCampaignCustomerGroup.class);Entity Name: DiscountCampaignProduct
Data Schema: Shop
Master Service: DiscountCampaignService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
DiscountCampaign | LONG | DiscountCampaignProduct | DiscountCampaign |
PrimaryKey | LONG | DiscountCampaignProduct | |
Product | LONG | DiscountCampaignProduct | Product |
ServerReplicationVersion | LONG | DiscountCampaignProduct | |
ShopOwner | LONG | DiscountCampaignProduct |
Pseudo code snippet
final DiscountCampaignProduct discountcampaignproduct = (DiscountCampaignProduct) this.callMicroservice(ServiceNames.DISCOUNT_CAMPAIGN_SERVICE + "/discountcampaignproduct/" + id, DiscountCampaignProduct.class);Entity Name: DiscountCampaignProductCategory
Data Schema: Shop
Master Service: DiscountCampaignService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
DiscountCampaign | LONG | DiscountCampaignProductCategory | DiscountCampaign |
PrimaryKey | LONG | DiscountCampaignProductCategory | |
ProductCategory | LONG | DiscountCampaignProductCategory | ProductCategory |
ServerReplicationVersion | LONG | DiscountCampaignProductCategory | |
ShopOwner | LONG | DiscountCampaignProductCategory |
Pseudo code snippet
final DiscountCampaignProductCategory discountcampaignproductcategory = (DiscountCampaignProductCategory) this.callMicroservice(ServiceNames.DISCOUNT_CAMPAIGN_SERVICE + "/discountcampaignproductcategory/" + id, DiscountCampaignProductCategory.class);Entity Name: DiscountType
Data Schema: Shop
Master Service: DiscountCampaignService
3.1 CountryService | 3.2 DiscountCampaignService | 3.3 ProductService | 3.4 ShopLicenseService |
Property Name | Datatype | Data Entity | Reference Entity |
Buy | INT | DiscountType | |
FixedAmount | DOUBLE | DiscountType | |
FreeShipping | BOOL | DiscountType | |
Pay | INT | DiscountType | |
Percentage | DOUBLE | DiscountType | |
PrimaryKey | LONG | DiscountType | |
ServerReplicationVersion | LONG | DiscountType | |
ShopOwner | LONG | DiscountType |
Pseudo code snippet
final DiscountType discounttype = (DiscountType) this.callMicroservice(ServiceNames.DISCOUNT_CAMPAIGN_SERVICE + "/discounttype/" + id, DiscountType.class);