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);